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

BUG: Update of the State name in the dropdown #58

Open
fccoelho opened this issue Jan 6, 2025 · 2 comments
Open

BUG: Update of the State name in the dropdown #58

fccoelho opened this issue Jan 6, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fccoelho
Copy link
Contributor

fccoelho commented Jan 6, 2025

When you change the state in the dropdown menu the name does not change. Then if you do a second change, it changes to the previously selected name.
The visualizations update correctly but the update of the widgets is delayed.

@fccoelho fccoelho added the bug Something isn't working label Jan 6, 2025
@eduardocorrearaujo
Copy link
Collaborator

I was testing it here and it seems to be updating very slowly. When we change the state it will update the title first, then each of the graphics and finally the name in the dropdown. @luabida do you have any suggestions as to what should be done?

@luabida
Copy link
Collaborator

luabida commented Jan 7, 2025

@eduardocorrearaujo my blind guess would be that the page awaits for the UF (or other parameter) to change, this await (corroutine) is not finished as the parameter is changed again, so meanwhile its loading the second change it finishes the previous one, renders in the page, and the second await finishes on top of it later on. There must be a way of sending a stop signal to the corroutine so it flushes its loading process and start the correct one right away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants