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.

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 27 2018, 11:07 PM
matmarex added a subscriber: matmarex.

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 closed this task as Resolved.Dec 14 2018, 4:16 PM
marcella claimed this task.
Restricted Application added a project: User-Ryasmeen. · View Herald TranscriptDec 14 2018, 4:16 PM
ppelberg removed a subscriber: ppelberg.