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

Show loader on button once clicked until loaded/finished #2143

Open
mvorisek opened this issue Jan 27, 2024 · 1 comment
Open

Show loader on button once clicked until loaded/finished #2143

mvorisek opened this issue Jan 27, 2024 · 1 comment

Comments

@mvorisek
Copy link
Member

mvorisek commented Jan 27, 2024

related with #2142 change

In the future, it should be solved by a loader added to the triggering element (like button), the triggering element should be probably also disabled until the action is complete

This is quite essential to have especially in cases if modal is slow to load and it should be restricted to call it multiple times in parallel.

Currently nothing is shown until the modal is loaded, UX should be improved by showing loaded on the triggering button until the action is completed/loaded to keep the user informed the action click triggered an action.

@mvorisek
Copy link
Member Author

https://github.com/atk4/ui/blob/5.0.0/demos/javascript/js.php#L59 demo already shows loader on a button, so let's unify this across all "triggering clickable components".

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

No branches or pull requests

1 participant