react-component / react-component/dialog

App Freezes on Escape Key Press While Dialog is Open

Open
#467 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
455
Forks
206
Avg merge
12m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the freeze in the dialog component with the Escape key while a dialog is open. Trace the open and close behavior around that key press, then verify that the dialog closes and other page interactions work without a refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.