Page MenuHomePhabricator

A reader can scroll an article while reading a story.
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Open a story in a story viewer.
  • Scroll up & down to see article scrolling behind.

What happens?:
Along with a story users will be able to see the article as well which is distracting while reading a story.

What should have happened instead?:
Story viewer shouldn't show an article in background.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

Event Timeline

SBisson edited projects, added Wikistories (R2); removed Wikistories (MVP).
SBisson triaged this task as Medium priority.Jul 21 2022, 1:13 PM
SBisson moved this task from Backlog to Ready for Dev on the Inuka-Team (Kanban) board.

Change 817199 had a related patch set uploaded (by Huei Tan; author: Huei Tan):

[mediawiki/extensions/Wikistories@master] Prevent reader scroll an article while reading a story

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

Change 817199 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Prevent reader scroll an article while reading a story

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

@hueitan
The scrolling has been fixed, but there is a way to swipe the screen upwards from the bottom and still see a part of the Wiki page. This action makes the story zoom in slightly. When the reverse is done and you swipe the screen downwards from the top, it makes the story view zoom out slightly.

Is there a way to prevent the user from scrolling up or down in story viewer mode?

Video recording.

from my understading, this is the behaviour of mobile browser, but let me check what i can do.

Change 822032 had a related patch set uploaded (by Huei Tan; author: Huei Tan):

[mediawiki/extensions/Wikistories@master] Disable scroll on iOS when reading a Wikistories

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

Change 822032 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Disable scroll on iOS when reading a Wikistories

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

Thanks for the tweak, @hueitan. This is not scrolling any more. Tested on Android 12 and and iOS 15.5.