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

Slow API responses highlight Wagtail's modal loading issues #25

Open
nimasmi opened this issue Jan 21, 2021 · 0 comments
Open

Slow API responses highlight Wagtail's modal loading issues #25

nimasmi opened this issue Jan 21, 2021 · 0 comments

Comments

@nimasmi
Copy link

nimasmi commented Jan 21, 2021

Wagtail issue wagtail/wagtail#4006 points out that it's possible to open two modals in the Wagtail admin by quickly clicking the chooser button twice. With slow-responding APIs, this becomes more of a problem.

The solution is to add an inactive state to that button immediately when it is clicked, and possibly too to the list entries in the chooser, as choosing one for Wagtail Generic Chooser at least requires an API call to the 'get object' endpoint.

This issue remains in Wagtail's scope, but I think it's even more of a problem for projects implementing Wagtail Generic Choosers.

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