mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-24 20:13:08 +00:00
b9a0def93a
If we call getBoundingClientRect() while the 'transform' animation is still ongoing, it's going to return values reflecting the transform - that is, the rect will be partially offscreen - which will trigger our code that runs the animation again. I don't know why this wasn't a problem on iOS 13.3 and earlier. Either the timing was slightly different and the 'transform' animation was able to finish earlier, or getBoundingClientRect() was buggy and returned wrong values that conveniently worked right for us. Bug: T259321 Change-Id: I6be0ddaeb6df54295fb14c45ba15fee41d61e33f |
||
---|---|---|
.. | ||
ve.init.mw.ArticleTarget.js | ||
ve.init.mw.DesktopArticleTarget.js | ||
ve.init.mw.MobileArticleTarget.js | ||
ve.init.mw.Target.js |