nextcloud / nextcloud/calendar

Escape not closing the popover/simple editor

Open
#7,183 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Enable the simplified editor.
  2. Create an event by clicking on the grid.
  3. 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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.