Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ontology search input textbox debounce causes delay/lag #2

Open
justin13601 opened this issue Oct 15, 2022 · 2 comments
Open

Ontology search input textbox debounce causes delay/lag #2

justin13601 opened this issue Oct 15, 2022 · 2 comments
Assignees

Comments

@justin13601
Copy link
Owner

The update ontology table callback is called each time a character is typed in the textbox despite having the raise PreventUpdate statement early on. As the loading component is forced to run each time, it creates a delay/lag when you type alot of characters in quick succession. Very noticeable when testing locally on the Framework but less so on when deployed on GAE.

@justin13601 justin13601 self-assigned this Oct 15, 2022
@justin13601
Copy link
Owner Author

One possible bandaid fix is to move the loading component over the search button instead of the table, so it would only show up when the user clicks search. However, not sure if it will still delay/lag as the update table callback is still called, but perhaps it's better visually

@justin13601
Copy link
Owner Author

One possible bandaid fix is to move the loading component over the search button instead of the table, so it would only show up when the user clicks search. However, not sure if it will still delay/lag as the update table callback is still called, but perhaps it's better visually

Switched loading to button, don't think it helped much but it does look nicer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant