Open
Description
Environment
On Firefox and Safari (not tested on Chrome)
MacBook Pro 2019
Proc: 2,4 GHz Intel Core i9 8 cœurs
Graphic Card:
- AMD Radeon Pro 5500M 8 Go
- Intel UHD Graphics 630 1536 Mo
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.0-alpha9
Reproduction
On https://ui3.nuxt.dev/components/input-menu demo page, just open any input menu and see the latency between the click and the menu opening.
Description
On any menu opening, small latency is feel-able and make the component very uncomfortable to use, especially on the nuxt ui website.
Additional context
Code causing the long style calculation identified are following :
(~40ms)
const l = window.innerWidth - document.documentElement.clientWidth,
And following: (~40ms)
i.value && (L.value = window.getComputedStyle(i.value).zIndex)
(code coming from bundles)
Finally, ~80ms