Close the form attachment popup upon Escape key press
- Dominant language
- JavaScript
- Stars
- 226
- Forks
- 235
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 19
Description
**Background.** On the form attachments page (the `FormAttachmentList` component), if the user drops one or more files onto the page (or uses the "Upload files" button to select one or more files), then a popup (`FormAttachmentPopups`) appears. The popup contains one or more buttons, one of which is automatically focused.
When the popup (or an element within it) is focused, then if the user presses the Escape key, the popup should close. Right now it does not.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the FormAttachmentList and FormAttachmentPopups components and reproduce the behavior after dropping files or using the "Upload files" button. Check the focused popup or child element's Escape-key handling. Done means pressing Escape while the popup or one of its elements is focused closes the popup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100