ui5-popover does not close when clicking outside of it
Hi colleagues, When we have a popover which opens a dialog, it seems that after the dialog has been closed, the popover cannot be closed when clicking outside of it.
To reproduce Steps to reproduce the behavior:
- Open a popover and click on the button 'Open Dialog'.
- In the dialog, click on the 'Dismiss' button to close the dialog.
- Now, the popover cannot be closed when clicking outside of it. However, the popover closes after pressing 'Escape' several times.
Isolated example CodeSandbox
Context
- UI5 Web Components version: 1.0.0-rc.8
Hello @m-ignatov
Not closing the ui5-dialog on click is the expected behaviour of the component.
However, it should be closed on the first press of ESC key.
In your example, I couldn't reproduce an issue. I am attaching a video where you can see that clicking doesn't close the dialog, but once I press ESC key, the dialog is closed. On the next press of ESC, the popover is closed.

I think there was a misunderstanding here 😄 The issue is with the popover - when you close the dialog with the 'Dismiss' button, the popover remains open and it cannot be closed when clicking outside of it. Is this expected or I am missing something?
The issue now is resolved 😄