Selecting with SHIFT-UP Arrow stops when the line above is shorter than the current line

When targeting a paragraph that wraps, there’s strange behaviour when using shift up to select when one line is longer than another. Selection seems to freeze, and transactions seem to stop.

Reproduction:

Expected: Both lines are selected. Pressing shift up will continue selecting contents of the document above. Actual: Only the second line is selected, and shift up does nothing if pressed again

I couldn’t get into the filterTransaction method of a plugin by using shift up when in this state.

1 Like

This appears to be a recently introduced Chrome bug (already reported as #369904697).

1 Like

Thanks Marijn, and thanks for all the work on ProseMirror! I’ll keep track of the bug on the Chrome repo