Merge "MobileArticleTarget: Avoid jittering while scrolling"

This commit is contained in:
jenkins-bot 2022-05-21 15:07:03 +00:00 committed by Gerrit Code Review
commit cf08e7f70a
2 changed files with 6 additions and 0 deletions

View file

@ -65,6 +65,11 @@
overflow: hidden;
}
.ve-init-mw-mobileArticleTarget-toolbar-popups {
// Avoid jittering while scrolling (T209192)
position: fixed;
}
@media screen and ( max-width: 767px ) {
.ve-init-mw-target-surface > .ve-ui-surface-placeholder > * {
/* Fix margin overlap */

View file

@ -521,6 +521,7 @@ ve.init.mw.MobileArticleTarget.prototype.setupToolbar = function ( surface ) {
this.toolbar.$group.addClass( 've-init-mw-mobileArticleTarget-editTools' );
this.toolbar.$element.addClass( 've-init-mw-mobileArticleTarget-toolbar' );
this.toolbar.$popups.addClass( 've-init-mw-mobileArticleTarget-toolbar-popups' );
};
/**