Skip to content

Pressing `tab` to select the current dropdown option does not work in the rich text editor

Summary

When starting to mention a user with @ or inserting an emoji with : a dropdown is shown to display some suggestions:

  • Using the "old" markdown editor, pressing tab selects the current suggestion and the the user can continue to write
  • Using the "new" rich text editor, pressing tab moves to the next UI element, usually a button or a checkbox after the editor, and leaves the dropdown open

Steps to reproduce

  1. Enable the rich text editor
  2. Start mentioning a user with @
  3. Navigate the dropdown with up/down arrows
  4. Try to select the highligthed option pressing tab
  5. The dropdown will remain open and the focus will be moved to the next UI element