Page MenuHomePhabricator

Can't scroll the viewport while typing in the caption field in Gallery>Images on mobile
Closed, ResolvedPublic

Description

Steps to replicate:

  1. Open mobile VE.
  2. Go to Gallery>Images tab.
  3. Place your cursor inside the caption field.
  4. When the keyboard slides up, try to scroll down to see what you are typing.

It's not possible to scroll the viewport to the area. Works correctly for Gallery caption field on Options tab.

Event Timeline

matmarex subscribed.

I can reproduce this. I think it's actually more serious that it looked like – it seems what whenever the keyboard is used while any VE dialog is open, the viewport is continually scrolled to the top. This makes it nearly impossible to type in fields in the "bottom half" of dialogs, such as the gallery image caption field, but also affects e.g. fields in the options tab of gallery dialog, and other dialogs like the maps dialog.

Change 478893 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/MobileFrontend@master] ve.init.mw.MobileFrontendArticleTarget: Disable scrolling hack while in dialog

https://gerrit.wikimedia.org/r/478893

Change 478893 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] ve.init.mw.MobileFrontendArticleTarget: Disable iOS scrolling hack while in dialog

https://gerrit.wikimedia.org/r/478893

marcella claimed this task.