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

[Modal] Prevent modal actions buttons from clicking twice #4479

Closed
kbariotis opened this issue Aug 25, 2016 · 4 comments
Closed

[Modal] Prevent modal actions buttons from clicking twice #4479

kbariotis opened this issue Aug 25, 2016 · 4 comments
Milestone

Comments

@kbariotis
Copy link

Modal contains transitions to showing on the screen. Action buttons are able to be clicked more than once while a modal is transitioning.

Here's an example http://jsfiddle.net/rajsnzxw/10/. Open console and try to click the button more than once aggressively.

I was wondering whether this behavior is something that Semantic's code must handle. In my current project, there is no way to fix this issue globally without adding side effects on my code base.

Thank you

@kbariotis kbariotis changed the title Prevent modal actions buttons from click twice Prevent modal actions buttons from clicking twice Aug 25, 2016
@jlukic jlukic added this to the 2.2.6 milestone Aug 29, 2016
@jlukic
Copy link
Member

jlukic commented Aug 29, 2016

Yes, we should probably handle rapid clicking on a framework level.

@kbariotis kbariotis changed the title Prevent modal actions buttons from clicking twice [Modal] Prevent modal actions buttons from clicking twice Aug 29, 2016
@jlukic jlukic modified the milestones: 2.2.6, 2.2.7, 2.2.8 Oct 28, 2016
@jlukic
Copy link
Member

jlukic commented Mar 13, 2017

Fixed in next

@jlukic jlukic closed this as completed Mar 13, 2017
@kmd1970
Copy link

kmd1970 commented Mar 29, 2017

Unfortunately this is not fixed in 2.2.10

https://jsfiddle.net/kmd1970/8joakfjh/

@lubber-de

This comment was marked as spam.

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

4 participants