nextcloud / nextcloud/calendar
Escape not closing the popover/simple editor
Open
Nobody has claimed this yet.
1. to develop
bug
Feature: Editor
regression
skill:frontend
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Enable the simplified editor.
- Create an event by clicking on the grid.
- Press the escape key to close the editor.
Expected behavior
The editor should close.
Actual behavior
The editor doesn't close.
This might be a focus trap issue. If the focus is removed from the title input field manually (by clicking outside), the escape key works again.
Calendar app version
c.nc.c (stable5.4), 5.3.7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by enabling the simplified editor, creating an event from the grid, and pressing Escape while the title input retains focus. Trace the simplified editor's focus and close behavior, then verify that Escape closes the popover/editor in the reproduction scenario and still works after focus is moved elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100