dxc-technology / halstack-react

Library of components for building SPAs with React and Halstack Design System
https://developer.dxc.com/halstack/
Apache License 2.0
15 stars 14 forks source link

Dialog popups interaction (Escape) fix #1935

Closed Mil4n0r closed 5 months ago

Mil4n0r commented 6 months ago

Checklist

Description There was a PR for this (#1817) but the solution was found to not be appropiate. In the end it seems that the simplest and most appropiate solution for this case scenario is to handle the Escape button interaction for our current and future components in a special way, adding event.stopPropagation() to prevent them from closing the Dialog in case they are inside one.

Closes #1515