-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Able to select multiple blocks and edit a block at the same time in Chrome 59 #2122
Copy link
Copy link
Closed
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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)
- Create three text blocks, with the text "top", "middle", and "bottom".
- In the bottom block, place the text cursor at the end of the word "bottom".
- Drag to the beginning of the word "bottom" to select it.
- Release the mouse button.
- Move the mouse cursor to the end of the word "bottom".
- Drag straight upward to select all three blocks.
- Drag the mouse cursor to the beginning of the word "top" in the top block.
- 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". - 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.
- Press backspace, and the bottom block will merge into the block above it and lose focus.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
