Page MenuHomePhabricator

VisualEditor: Selecting with Shift-arrow selects the heading after a list item
Closed, DeclinedPublic

Description

Go to https://www.mediawiki.org/wiki/User:Amire80/be-bullet-heading?veaction=edit, which contains the wikitext:

* list item 1
* list item 2
* list item 3

==Heading==
paragraph text

Press Shift-↓ (down arrow) three times.

The first time, the first list item is selected.
The second time, the second list item is selected.
The third time, the third list item AND the heading are selected.

Selecting the heading should require a forth press of Shift-↓.

Details

Reference
bz52332

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:08 AM
bzimport set Reference to bz52332.
nshahquinn-wmf lowered the priority of this task from Medium to Low.Jul 24 2015, 8:41 PM
nshahquinn-wmf updated the task description. (Show Details)
nshahquinn-wmf set Security to None.
Esanders subscribed.

Pressing shift+down moves your cursor down visually in the browser. This is just how native selection works in the browser (for example, in read mode, select the first 'l' in 'list item 1', then press shift down, and the same thing happens).

Without completing re-implenting our own version of cursor movement, we couldn't fix this even if we wanted to.