primevue
primevue copied to clipboard
Menubar: breaking menu items when first loading on mobile
Describe the bug
I saw the menubar component add 'p-menubar-mobile' class to the root be delayed, that is cause making break the menu items when first loading on mobile
<div class="p-menubar p-component p-menubar-mobile" data-pc-name="menubar" data-pc-section="root">
so how to speed up it?
Reproducer
https://primevue.org/menubar/
PrimeVue version
3.49.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
Check this url on mobile: https://ip.raoban.org/
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days.