Page MenuHomePhabricator

Inconsistent scrolling behavior observed for Gallery dialog on Mobile
Open, Needs TriagePublic

Description

Steps to replicate:

  1. Open gallery dialog
  2. When you are on the "Images" tab, scroll down to the bottom.
  3. Now switch to "Options" tab, try to scroll.

The screen is stuck at a specific scrolling position and it's impossible to scroll back up. It's a bit tricky to replicate, so keep switching tabs and scrolling for couple of times to succeed :)

Also, at some point, it was taking two taps to switch tabs.

Browser: iOS Safari
Device: iPhone 5s

Event Timeline

matmarex subscribed.

I could reproduce it a few times, but every time I was able to make it fix itself by just waiting a few seconds (until the scrollbar disappeared) before trying to scroll again. So this seems low priority.

I think this is caused by some weird structure in the dialog; several areas of it are actually nested in multiple scrollable panels. I guess iOS Safari gets confused which one of them it should scroll.

Before trying to fix it, we should probably first consider which areas of the dialog should actually be scrollable… for example, in the screenshot below, only this tiny area is scrollable to show search results, but it seems the design would easily allow scrolling away the entire top half of the dialog.

image.png (1×654 px, 107 KB)

(If T208644 is fixed, it will likely affect this dialog)