mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
mw.ViewPageTarget: Hide ve-ce-surface during deactivation
While showing the content earlier as soon as possible is nice, the ve-ce-surface remained visible until toolbar and surface were torn down. This avoids the split second where the new pageview content *and* CE surface were visible in the page (this it also messed with the scroll position, and would temporarily cause a scrollbar to appear). Bug: T91442 Change-Id: I0a7232cd0264bff28ad66aa328de29d339891aa1
This commit is contained in:
parent
581a6a40fa
commit
77f016ae8f
|
@ -25,7 +25,8 @@
|
|||
.ve-activated #t-print,
|
||||
.ve-activated #t-permalink,
|
||||
.ve-activated #p-coll-print_export,
|
||||
.ve-activated #t-cite {
|
||||
.ve-activated #t-cite,
|
||||
.ve-deactivating .ve-ce-surface {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue