Skip to content

Fix bug with suggestions dropdown in rich text

Himanshu Kapoor requested to merge 419089-arrow-keys into master

What does this MR do and why?

Fix bug with suggestions dropdown in rich text

In rich text editor, even after the suggestions dropdown is dismissed, it captures ArrowDown, ArrowUp and Enter events, so people cannot navigate through the rich text editor using those keys. This MR fixes it.

Changelog: fixed

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screen Recording 2023-10-26 at 17.22.07.mov Screen Recording 2023-10-26 at 17.21.16.mov

How to set up and validate locally

In rich text editor:

  1. Type %"16.5"
  2. Position your cursor after the second " and try to press one of [return / up arrow / down arrow]

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to Enter/Up/Down arrows don't work when autocomple... (#419089 - closed)

Merge request reports