mediawiki-extensions-Visual.../modules/ve-mw
Andrew Kostka 0c14b6d0bb Don't jump back-and-forth between fullscreen and floating when resizing
Previously, when the tranclusion dialog was being resized, there was
a specific width at which both the sidebar was collapsed and the dialog
was downsized from "larger/large" to "medium". This resulted in the
dialog switching from fullscreen to floating, since the dialog's width
breakpoint for "medium" doesn't match our width breakpoint for mobile.
If the user continued to downsize past this breakpoint, then the dialog
would eventually switch back to fullscreen resulting in this weird
behavior.

A simple way to prevent this is to avoid changing the dialog's size
at all. Since we don't support collapsing the new sidebar (unless
already in fullscreen), we can just leave the dialog at the
"larger/large" size.

Bug: T274554
Change-Id: I5460cdfb1a7ed73fe7957745ba37055c5f66dce1
2021-09-09 12:16:52 +02:00
..
ce Use less repetitive code when calling .showHandles() 2021-09-03 09:16:22 +02:00
dm Fix …TemplateSpecModel reporting missing pages as documented 2021-09-01 14:59:03 +02:00
init Remove redundant initialization from LinkCache 2021-09-02 13:54:15 +02:00
preinit Cleanups and optimizations related to .parseDom() 2021-09-02 18:29:09 +00:00
tests Rename ambiguous onParameterInput event handler 2021-09-07 09:04:33 +02:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Don't jump back-and-forth between fullscreen and floating when resizing 2021-09-09 12:16:52 +02:00