The issue was caused by a conditional(v-if=!menuMinimized) inside the <q-toolbar>. menuMinimized property controls whether the side menu is collapsed or expanded and affects multiple components. When it changes (on hover or pin toggle), the layout width updates, which can trigger the ResizeObserver. Using v-if was recreating/destroying the element each time, causing unnecessary layout recalculations. The solution is to replace it with v-show="!menuPinned" which keeps the element in the DOM (only toggles display), preventing extra ResizeObserver triggers and making transitions smoother. Change-Id: I2e544bb0451cc6a17a4bbeaf482ce678173adcd4master
parent
c764dfca71
commit
69e43c898e
Loading…
Reference in new issue