Skip to content

Rich text editor: toolbar More menu closes on first click after the window narrows #6462

Open

Description

@rtibblesbot

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Target branch: unstable

Observed behavior

After the window narrows, the first click on the editor toolbar's More button opens its menu, which closes again ~25ms later. The second click works.

  • Reproduced 3/3; also at 1100→700px and 820→520px.
  • Affects both the question and the answer-choice toolbars.
  • Only menus with constrainToScrollParent=false are affected (ToolbarMoreButton.vue).

Errors and logs

None.

Expected behavior

The first click opens the More menu and it stays open.

User-facing consequences

Editors on narrowed windows must click More twice.

Steps to reproduce

  1. Open a resource's Edit details → Questions; open the Q1 editor with the window at 900px.
  2. Click More, then press Escape.
  3. Narrow the window to 520px.
  4. Click More. The menu opens and immediately closes.

Context

AI usage

Claude Code found and reproduced this in the browser while reviewing #6457 and drafted this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions