Page MenuHomePhabricator

[BUG] Some articles scroll horizontally
Closed, ResolvedPublicBUG REPORT

Description

How many times were you able to reproduce it?

5/5

Steps to reproduce

  1. Open "Marseille" article in French
  2. Try to scroll horizontally

Expected results

User cannot scroll horizontally in the article view

Actual results

User can scroll horizontally in the article view

Screenshots

IMG_1793.PNG (2×1 px, 544 KB)

IMG_1794.PNG (2×1 px, 589 KB)

Environments observed

App version: Latest develop and 5.6.1
OS versions: iOS 11
Device model: iPhone 6 Plus and iPhone 7 Plus
Device language: EN

Regression?

No

This is a recurring templating issue. In the past we solved it by altering the Wikipedia article.

Event Timeline

This site looks better organised/designed than the actual wikipedia site!

I’m not sure whether I understand the description in the bug report form though… the issue is that scrolling *should* (my expectation) only be up and down but the article also scrolls horizontally. When this happens to the right, the article text will be out of view (seen dramatically on the first screenshot). Also: this behaviour also blocks the iOS-wide swipe-from-the-left-margin-to-the-right gesture for navigating back (from the article to the list).

I also noticed that this behaviour can be rectified. An example is the Wikilinks app, which apparently uses workarounds for any templating issue…

This is an issue on MobileFrontend. The divs holding the tables and the image below have inline width set.

IMG_0297.PNG (2×1 px, 517 KB)

Thanks Natalia.

Could this be corrected? I'm from a totally different scientific background... so please excuse my naive questions.

Hey @SteffenB70, no problem! 😃 Yes, I believe this can be corrected if we get rid of the inline width, but since this is an issue on both Mobile Frontend and the iOS app, it should be fixed on Mobile Frontend. It will then work fine on Mobile Frontend and in the app.

<div style="overflow:hidden; width: 48em; margin: 0 auto; padding:0 1px;">
<div text-align: center; margin: 0 auto; overflow: hidden; zoom: 1; width:710px; margin: 0 auto;>

the width being set in those divs (that are parents divs of the elements that are expanding the view) is causing the issue, if you take out the width declaration, it works fine

Thanks Natalia. Looking forward to this solution. Is there anything that i could to help?

Dear all,

just wondering, is this issue still being investigated? Would nice, since it's disturbing an otherwise fantastic app for researching and reading Wikipedia articles.

Thanks and best wishes from Tübingen, Germany,

Steffen

Hi all, not sure if this is related but we received a ticket on OTRS regarding horizontal scrolling due to math overflows on the Color Difference article.
It's strange because some of the math behaves properly, but one section overflows. I made a video here: https://www.youtube.com/watch?v=VowPDRO7FDE&feature=youtu.be

Restricted Application changed the subtype of this task from "Task" to "Bug Report". · View Herald TranscriptOct 29 2019, 5:04 PM