Page MenuHomePhabricator

Selection lags behind scroll on iPhone
Closed, ResolvedPublic

Description

Scroll the page with some text selected and the selection doesn't move until the scroll stops.

https://www.youtube.com/watch?v=l3k_IxuoFcY

This is "caused" by the -webkit-over-scrolling:touch rule, but if we remove this rule the scrolling loses all its momentum which is probably worse.

The only element that appears to be allowed to have smooth touch scrolling and draw the selection continuously is the window itself, however on iOS we have to use a scroll container for other reasons (I think to keep the toolbar visible when the keyboard is up).

Event Timeline

matmarex moved this task from Incoming to QA on the VisualEditor (Current work) board.
matmarex subscribed.

No longer occurs since we ditched all iOS hacks last week [https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/496827] (including the scroll container).

Fixed

https://youtu.be/BOax_Z4RxlI*


Posting in case we decide to communicate this fix as part of our ongoing commitment to improving the mobile VE editing experience

ppelberg claimed this task.