Page MenuHomePhabricator

Scrolling within Wikipedia app is slow and sluggish
Closed, ResolvedPublic

Description

Lots of reviews in the iTunes store that say that our scrolling is poor at best


Version: 3.1.1 (iOS)
Severity: blocker

Details

Reference
bz35777

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:15 AM
bzimport set Reference to bz35777.
  • Bug 35781 has been marked as a duplicate of this bug. ***

Core issue is with how we use iScroll on iOS 4.x . Simplifying the css makes it a ton better.

I'll let Yuvi add more detail after this. We have new builds that work far better if you want to test.

iScroll does not like styles with wildcard selectors (example: div[style*='padding']) and that is what is causing us jerkiness. We've removed most of them and are looking at alternate ways (js) to produce the effect those styles were having. jdlrobson is reviewing the CSS and we'll be good to go once he's fine with it.

wesleyhales wrote:

Testcase - Shows jerky scrolling on iOS < 4.3.x with common.js selectors

Tried to pinpoint the exact cause of the choppy scrolling. Seems to be caused by a combination of inline styles, an ordered list, a table with a lot of rows, and the use of the specific CSS3 [style*='foo'] selector.

Attached:

This has for the most part been fixed in the v3.1.2-iOS branch.

Fixed, and an update has been sent to apple for review.

Code hasn't been merged into master yet - it has been merged into api-move, and api-move shall be merged into master shortly.