Page MenuHomePhabricator

Pressing Escape when the focus is outside of the editor (e.g. the sidebar language popup is open) closes VE
Closed, ResolvedPublic

Description

  1. Open VE
  2. Open the language popup (skin:vector classic, click the cog):
    image.png (124×209 px, 8 KB)
  3. Press escape to close the popup

Observe VE has closed as well

VE will close when escape is pressed anywhere on the page e.g. the site search bar, or any popups generated by other tools. We should only capture escape events from within VE itself.

Event Timeline

Change 805810 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Use surface's cancel command to close the editor

https://gerrit.wikimedia.org/r/805810

Change 805810 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Use surface's cancel command to close the editor

https://gerrit.wikimedia.org/r/805810

matmarex edited projects, added Editing QA; removed Patch-For-Review.
matmarex moved this task from Incoming to QA on the Editing-team (Kanban Board) board.
matmarex renamed this task from Pressing escape while the language popup is open closes VE to Pressing escape the focus is outside of the editor (e.g. the sidebar language popup is open) closes VE.Jun 15 2022, 8:19 PM
matmarex renamed this task from Pressing escape the focus is outside of the editor (e.g. the sidebar language popup is open) closes VE to Pressing Escape when the focus is outside of the editor (e.g. the sidebar language popup is open) closes VE.
EAkinloose subscribed.

VE doesn't close when escape is pressed as expected.

ppelberg claimed this task.