Page MenuHomePhabricator

Scroll to section doesn't work for subsections in collapsed section
Closed, ResolvedPublicBUG REPORT

Description

How many times were you able to reproduce it?

Always

Steps to reproduce

  1. Open enwiki > Coffin Stone
  2. Tap "Bibliography" in the table of contents
  3. Observe the article scroll position
  4. Close and re-open the article to re-repro (works fine the second time)

Expected results

Bibliography header is at the top of the screen

Actual results

Bibliography header is off screen

Notes

Works after the second try, it's likely due to section hiding

Event Timeline

Change 579537 had a related patch set uploaded (by Joewalsh; owner: Joewalsh):
[mediawiki/services/mobileapps@master] Update prepareForScrollToSection to be async

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

Change 579537 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Update prepareForScrollToSection to be async

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

I'm still seeing the old behavior on 6.6.0 (1729)

@cmadeo I'm not able to repro using the repro steps on 1733. If you go into the app settings and select "Clear cached data" and then re-load the article are you still able to repro? And if so, is it the same article as in the repro steps or a different one? Thanks!

@cmadeo no problem, thanks for reporting! Was it clearing the cache that fixed it? There might be an issue on our end with files staying in the cache too long if it was still broken.

@JoeWalsh actually didn't even need to clear the cache, just trying it again today worked

ABorbaWMF subscribed.

Looks good after clearing the cache on 6.6.0 (1733)