mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Bartosz Dziewoński 17a0b407fc ve.init.mw.MobileArticleTarget: Remove code causing scrolling issues
This code is supposed to check if we have scrolled past the end of the
page, and if we did, scroll back up to a more reasonable position.

However, it seems to incorrectly trigger in other cases, and scroll
the page back to the top, because getBoundingClientRect() occasionally
still returns bogus values (even though we try to avoid that). This
happens inconsistently when focussing the surface or closing a dialog.

We can't correctly display the toolbar while scrolled past the end of
the page. Removing this code causes it to go into an endless animation
loop in that case. But that may be preferable…

Bug: T219200
Change-Id: I152f2b39351ffd3c9799eea33cce95e05d2f9ab9
2019-04-04 17:07:39 +00:00
..
ve.init.mw.DesktopArticleTarget.init.js Load VE in read-only mode on protected pages 2019-02-22 19:09:23 +00:00
ve.init.mw.DesktopArticleTarget.js Merge "Remove special handling for category and file pages" 2019-03-19 19:24:13 +00:00
ve.init.mw.MobileArticleTarget.js ve.init.mw.MobileArticleTarget: Remove code causing scrolling issues 2019-04-04 17:07:39 +00:00