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
the close (onClose) event of the Input is bubbling up to the Dialog. To prevent this you can call event.stopPropagation in the respective handler (example). I believe that there's an ongoing discussion regarding this behavior and since both components are web components, developed by the ui5-webcomponents team, I'll forward this issue to their repo.
Hi Colleagues,
please take over :)
Lukas742
transferred this issue from SAP/ui5-webcomponents-react
Jan 8, 2025
Describe the bug
If I place an input inside a dialog with suggestion items, the dialog's onClose method is called when clicking on a suggestion item.
Isolated Example
https://stackblitz.com/edit/github-gx6sl754-gmjbty2g?file=src%2FApp.tsx
Reproduction steps
...
Expected Behaviour
The dialog's onClose method is not called.
Screenshots or Videos
No response
UI5 Web Components for React Version
2.5.0
UI5 Web Components Version
2.5.1
Browser
Chrome, Edge
Operating System
Windows
Additional Context
No response
Relevant log output
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: