Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using arrow keys to deselect text after applying style fails in Firefox #1496

Open
peterchappell opened this issue Mar 8, 2019 · 0 comments

Comments

@peterchappell
Copy link
Contributor

Description

In Firefox, if you select some text, apply a style via the toolbar and then use the left or right arrow key to de-select the text, nothing happens.

Steps to reproduce

  1. Use Firefox
  2. In an editor, select some text
  3. Apply style/formatting via the toolbar
  4. After the style has been applied, use an arrow key to de-select the text

(Compare against other browsers)

Expected behavior:

The text should be deselected and the cursor should be positioned accordingly (e.g. after applying a style and then clicking the "right" arrow the cursor should be to the right of what was previously selected.

Actual behavior:

Nothing happens.

Link to an example:

This can be reproduced on the demo page (using Firefox)

Versions

  • medium-editor: 5.23.3
  • browser: Firefox 65.0.1 (64-bit)
  • OS: MacOS (Mojave)
peterchappell pushed a commit to intellum/medium-editor that referenced this issue Mar 8, 2019
rdeprey added a commit that referenced this issue Jun 2, 2019
Ensure the focus stays in the editor after execAction for Firefox. #1496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant