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

Able to select multiple blocks and edit a block at the same time in Chrome 59 #2122

Closed
1 task
notnownikki opened this issue Aug 1, 2017 · 0 comments · Fixed by #2257
Closed
1 task

Able to select multiple blocks and edit a block at the same time in Chrome 59 #2122

notnownikki opened this issue Aug 1, 2017 · 0 comments · Fixed by #2257
Labels
[Type] Bug An existing feature does not function as intended

Comments

@notnownikki
Copy link
Member

Issue Overview

With a very specific sequence of mouse movements and selections, it's possible to have the cursor active in a block, and have multiple blocks selected, resulting in unexpected behaviour.

Steps to Reproduce (for bugs)

Using Chrome 59 (exact version, 59.0.3071.109)

  1. Create three text blocks, with the text "top", "middle", and "bottom".
  2. In the bottom block, place the text cursor at the end of the word "bottom".
  3. Drag to the beginning of the word "bottom" to select it.
  4. Release the mouse button.
  5. Move the mouse cursor to the end of the word "bottom".
  6. Drag straight upward to select all three blocks.
  7. Drag the mouse cursor to the beginning of the word "top" in the top block.
  8. Drag the mouse cursor straight down to the bottom block so it is at the beginning of the word "bottom".
    You should see the word "bottom" is no longer selected, and the text cursor is at the start of the word "bottom".
  9. Continue dragging upward to select all three blocks. You should see the text cursor is still active in the bottom block, but all three blocks are selected.
  10. Press backspace, and the bottom block will merge into the block above it and lose focus.

weird selection bug

Expected Behavior

I shouldn't be able to edit a block while having multiple blocks selected

Current Behavior

But, in Chrome 59, I can. (But not in 60, or Firefox)

Todos

  • Tests
@karmatosed karmatosed added the [Type] Bug An existing feature does not function as intended label Aug 1, 2017
Tug pushed a commit that referenced this issue May 12, 2020
[UI tests] Cover additional blocks with UI tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
2 participants