UButton - activeClass does not work when switching from another layout
prostohttp opened this issue · comments
Михаил Морозов commented
Environment
Operating System: Darwin
- Node Version: v20.12.2
- Nuxt Version: 3.11.2
- CLI Version: 3.11.1
- Nitro Version: 2.9.6
- Package Manager: npm@10.5.0
- Builder: -
- User Config: routeRules, app, runtimeConfig, nitro, css, devtools, experimental, auth, mongoose, pinia, vueEmail, googleFonts, modules
- Runtime Modules: @nuxt/image@1.7.0, @vueuse/nuxt@10.9.0, nuxt-mongoose@1.0.5, @pinia/nuxt@0.5.1, @pinia-plugin-persistedstate/nuxt@1.2.0, @nuxt/content@2.12.1, @sidebase/nuxt-auth@0.7.2, @vue-email/nuxt@0.8.19, nuxt-aos@1.2.4, @nuxt/ui@2.16.0, @nuxtjs/google-fonts@3.2.0
- Build Modules: -
Version
v2.16.0
Reproduction
nothing there
Description
- activeClass does not work on UButton when switching from another layout, activeClass starts working when you reload the page.
- If I use NuxtLink everything works fine.
I have layout auth on the registration page, after authorization I am automatically redirected to the page with the default layout, on this page there is a menu with a UButtons
Screenshot don't work
Screenshot normal work
Additional context
No response
Logs
No response