dialog
dialog copied to clipboard
App Freezes on Escape Key Press While Dialog is Open
Description:
When a dialog component is open in the application and the 'Escape' key is pressed to close it, the application becomes unresponsive. Other UI elements on the page become inactive, and user interactions are not registered. At the moment, the only way to bring the page back to its normal state is by refreshing the page. This suggests that the application might still believe the dialog is active even after the escape key press.
Expected Behavior:
After pressing the 'Escape' key, the dialog should close, and the application should return to its normal interactive state. All UI elements on the page should become responsive again.