ui5-dialog, ui5-popover, ui5-responsive-popover: before-close Event Fails with preventDefault and programatic closing of the dilog #10501
Open
Description
Bug Description
When the before-close event is prevented using event.preventDefault(), the dialog does not close when attempting to set open = false.
Affected Component
ui5-dialog, ui5-popover, ui5-responsive-popover
Expected Behaviour
The dialog should still close as expected when the before-close event is prevented using event.preventDefault() and open = false is set programmatically.
Isolated Example
Steps to Reproduce
- Open Dialog
- Click 'Close' button
- Click to cancel the closing
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
2.0+
Browser
Chrome, Edge, Firefox, Safari
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Assignees
Type
Projects
Status
New Issues