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 in chaining #655
Comments
Thanks for reporting @ibrahimBeladi! Which browser and OS are you using? |
OS: Linux Zorin |
I can't reproduce the issue with the same configuration (Linux/Firefox). Probably you just holding Enter for too long :) As a workaround for this you can use PS in real-life cases there should be validators preventing submitting empty input values. |
I am not holding Enter for too long for sure. In Chromium it doesn't happen unless I really hold Enter. But in Firefox it happens even with the fastest presses. |
Many thanks for the clarification! I just released https://github.com/sweetalert2/sweetalert2/releases/tag/v6.10.2 take another look on https://sweetalert2.github.io/#chaining-modals, the reported issue should be fixed 👍 |
@ibrahimBeladi could you please confirm if the issue is fixed in Linux Zorin/Firefox, thanks! |
Oh I forgot to tell you since the issue is closed. It is working properly, thank you for your effort. |
Awesome, thank you! |
I found a bug in chaining modals, for example, if you have two modals one for username modal chained with password modal and you entered the username and then pressed enter (not clicking the button), the event will be sent to both modals and hence the enter will be pressed for the second modal making it work in a mistaken behaviour. It is also happening in the example, check it out here too.
Chaining modals (queue) example
The text was updated successfully, but these errors were encountered: