You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report, and welcome to the Backdrop issue queue!
To discuss whether a click outside a modal should close it, we should also consider other dialogs in Backdrop, e.g. inserting a link or an image, or configuring a block. As those dialogs may contain data that could be lost by closing the window accidentally, I'm skeptical about the proposal.
That said, there is another way to close a modal window in Backdrop easily: hit the esc key.
Hi @NormPlum! Welcome to the Backdrop community and thank you for opening this issue!
Would it make sense to have this be a per-dialog option? The project details modal is a great situation where there's no chance of data loss, and you're also opening and closing a lot of modals. Click anywhere to close would make sense. However, I think the default should still be the current behavior, to prevent data loss on modals that contain forms. Though I suppose we could make a "smart default" of detecting if there is a form and adjusting the behavior, unless it was manually specified otherwise.
I haven't come across other modals in Backdrop yet, so if this doesn't work all the time then understandable that it's not a default feature. But for this page at least I think it'd be handy.
Description of the need
When viewing the Project Details modal on the
/admin/modules/install
page, I have to specifically click on the close icon to close the modal.Proposed solution
It'd be nice if I could also click anywhere outside the modal in order to close it.
The text was updated successfully, but these errors were encountered: