Page MenuHomePhabricator

OOjs UI MenuToolGroup clipping breaks when scrolling
Closed, ResolvedPublic8 Estimated Story Points

Description

  1. Open VisualEditor
  2. Make the browser too short to show the whole formatting menu
  3. Open the formatting menu
  4. Scroll down
  5. Notice it scrolls erratically when you reach the bottom

Event Timeline

TrevorParscal assigned this task to matmarex.
TrevorParscal raised the priority of this task from to Needs Triage.
TrevorParscal updated the task description. (Show Details)
TrevorParscal added a project: OOUI.
TrevorParscal subscribed.

Hmm, calling OO.ui.Element.static.reconsiderScrollbars() on anything causes the scroll position to be lost, and that's what causes the funny behavior here.

Change 210339 had a related patch set uploaded (by Bartosz Dziewoński):
Preserve scroll position in OO.ui.Element.static.reconsiderScrollbars

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

matmarex triaged this task as Medium priority.May 16 2015, 12:47 AM

Change 210339 merged by jenkins-bot:
Preserve scroll position in OO.ui.Element.static.reconsiderScrollbars

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