Page MenuHomePhabricator

[Story] Performance of sticky elements feels bad
Closed, ResolvedPublic


The performance of the sticky elements (those who stay at their position on screen when scrolling) feels really bad. These elements include the edit link next to the label and the "in other languages" heading.

They often scroll over their bounds and then jump back or they just jump instead of smoothly scrolling.

Event Timeline

Bene raised the priority of this task from to Needs Triage.
Bene updated the task description. (Show Details)
Bene added subscribers: Bene, thiemowmde.

The relevant file for the "sticky" property labels is jquery.wikibase.statementgrouplabelscroll.js. The word "stick" does not appear in this file. ;-)

There is an other mechanism called "sticknode" which is used for headlines and table headers. As far as I can see the bad performance is not in these "sticknode" elements but in the scrolling property label.

thiemowmde renamed this task from Performance of sticky elements feels bad to [Story] Performance of sticky elements feels bad.Sep 10 2015, 2:57 PM
thiemowmde added a subscriber: Jonas.

Change 279369 had a related patch set uploaded (by Jonas Kress (WMDE)):
Remove animation from statementgrouplabelscroll.js

Change 279369 merged by jenkins-bot:
Replace statementgrouplabelscroll animation with CSS transition