mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
17a0b407fc
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 |
||
---|---|---|
.. | ||
styles | ||
targets | ||
ve.init.mw.ApiResponseCache.js | ||
ve.init.mw.ArticleTarget.js | ||
ve.init.mw.ArticleTargetEvents.js | ||
ve.init.mw.ArticleTargetLoader.js | ||
ve.init.mw.DiffLoader.js | ||
ve.init.mw.DiffPage.init.js | ||
ve.init.mw.GalleryImageInfoCache.js | ||
ve.init.mw.ImageInfoCache.js | ||
ve.init.mw.js | ||
ve.init.mw.LinkCache.js | ||
ve.init.mw.Platform.init.js | ||
ve.init.mw.Platform.js | ||
ve.init.mw.ProgressBarWidget.js | ||
ve.init.mw.SaveErrorHandler.js | ||
ve.init.mw.Target.js | ||
ve.init.mw.TempWikitextEditorWidget.js | ||
ve.init.mw.trackSubscriber.js | ||
ve.init.MWEditingTabDialog.js | ||
ve.init.MWEditModeTool.js | ||
ve.init.MWVESwitchConfirmDialog.js | ||
ve.init.MWVESwitchPopupWidget.js | ||
ve.init.MWWelcomeDialog.js |