-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Close popup when clicking next to it #1053
Conversation
Can probably be optimised by reusing the right function but I couldn't find how to call it without having undefined error |
@AIC-BV would you be able to provide a screen recording of the new behaviour? |
@AIC-BV does this functionality make it if you click on the translucent overlay, it closes the modal? I'm not a big fan of that at all - too many times, people mis-click and miss something important (or lose a completed form if the modal contains one). |
That is the case! For me it is good UX |
Bewerk.bestelling._.AIC.BV.-.Google.Chrome.2024-02-21.09-17-56.mp4 |
It is a read only popup relation and it is very annoying if you can't click next to it 😆 |
Apologies, but I strongly disagree. I would begrudgingly allow it for "message" modals, where an action has already occurred and the modal is simply letting the user know it's done - albeit, a flash message would generally be better in this case and those can already be easily dismissed. Definitely not for any modal that requires user interaction or attention, ie. a modal form, a confirmation modal where the user has to Yes or No, or an error message. I would only accept this PR if such modal behaviour were optional (ie. could be defined by configuration) and by default, it was disabled. |
@bennothommo And then update this PR to
Let me know |
That'd be all good. Maybe |
Added in this PR |
Close popup when clicking next to it