We use window but OOUI does this better and has handing for browser bugs. Also using window is not compatible with $.animate.
In ce.surface we cache $window. Most uses of that should probably be changed.
We use window but OOUI does this better and has handing for browser bugs. Also using window is not compatible with $.animate.
In ce.surface we cache $window. Most uses of that should probably be changed.
Change 756179 had a related patch set uploaded (by Esanders; author: Esanders):
[VisualEditor/VisualEditor@master] Consistently use target/surface $scrollContainer to set/get scrollTop
Change 756723 had a related patch set uploaded (by Esanders; author: Esanders):
[mediawiki/extensions/VisualEditor@master] VE-MW: Consistently use target/surface $scrollContainer to set/get scrollTop
Change 756179 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Consistently use target/surface $scrollContainer to set/get scrollTop
Change 757112 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (c3f56a0b9)
Change 757112 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (c3f56a0b9)
Change 756723 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] VE-MW: Consistently use target/surface $scrollContainer to set/get scrollTop
I tested a bunch locally, but we're making a lot of changes here and we might have broken something and not noticed.
Things to test: everything where we scroll the browser viewport, or react to the user scrolling, particularly:
I checked the things listed in @matmarex 's comment and more. Ran regression for core features while focusing on the user scrolling.
All seems good.