I have a modal Dialog where the user is to perform some action.
Since it is modal, the user can close it by clicking outside.
If something goes wrong while the Dialog is open, I display a closable Notification.
When the user clicks to close the Notification, the Dialog is also closed.
This is logical, since I did click “outside” the Dialog, but it is not what I want.
Any way to get around it?
I still want click outside the Dialog to close it though.
I see that the new popover attribute and are mainline now.
Maybe Vaadin should switch to those?
It is an idea worth of thought, and it has been discussed every now and then. The problem is that it would be major breaking change. It would require to rewrite many components and maybe also to change some behaviors that are not compatible vaadin-overlay vs. dialog element.