diff --git a/src/css/app.sass b/src/css/app.sass index db231eac..1a7403af 100644 --- a/src/css/app.sass +++ b/src/css/app.sass @@ -37,3 +37,19 @@ body.body--dark .half-screen-width width: 50vw + +// Before showing a popup (QMenu/QPopupProxy, e.g. CscMoreMenu), Quasar hides it +// briefly to measure its size, then reveals it in the right position. Firefox +// has a quirk where it treats that hidden state as zero-sized, so the size +// check never succeeds and the popup is left hidden forever - the menu never +// opens. Other browsers don't have this quirk. +// +// This is a known Quasar bug: https://github.com/quasarframework/quasar/issues/16167 +// Upstream fixed it in https://github.com/quasarframework/quasar/pull/18468, by +// hiding popups a different way that Firefox doesn't miscalculate as zero-sized. +// That fix hasn't been released yet (still missing as of the latest published +// version, 2.23.3, i.e. bumping our Quasar dependency will NOT fix this on its +// own) so we apply the same one-line change ourselves here in the meantime. +// Once a released Quasar version includes the fix, remove this override. +.q-position-engine + visibility: hidden