Page MenuHomePhabricator

Mobile VisualEditor inspectors have scrolling glitches on iOS
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • open an inspector (e.g. the link inspector)
  • tap into a text field so the keyboard pops up
  • attempt to scroll inside the inspector

What happens?:

My scroll position would get forcibly scrolled away from the field to the bottom of the inspector any time I the scroll position was at the top of the inspector.

What should have happened instead?:

The scroll position at the very least shouldn't have completely scrolled away from the input.

Event Timeline

Someone else tested on Android and didn't see this happening, so I presume it's something to do with either iOS keyboard issues or our previous attempts to mitigate said issues.

Interestingly, this only happens when the page beneath the dialog is *not* scrolled to the top, so I suspect some of our scrolling hacks for the page toolbar are kicking in in dialog mode, which might be a simple fix...

If it isn't toolbar hacks causing it, we could just reset the page scroll to 0 while full screen dialogs are open.

I couldn't reproduce this in my local environment, but it was still happening on live. The only difference I could see was the "Open in the Wikipedia App" bar I had because the app was installed. I uninstalled the app and the problem went away...

@DLynch @Esanders Is this something that we're going to fix now? Should this be on the board?