I'm using Tabs > TabList > Tab components to do some navigation within a component using the router to handle the content, the tabs are just a navigation means.
The problem is that they are often buggy, if I switch between the two quickly or sometimes just seemingly for no reason, the tabs will animate to the clicked tab as expected but the route change from my NuxtLink has not not happened.
Code (ignore the @click.stop.prevent, this was me "trying" to fix it:
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.
Describe the bug
I'm using Tabs > TabList > Tab components to do some navigation within a component using the router to handle the content, the tabs are just a navigation means.
The problem is that they are often buggy, if I switch between the two quickly or sometimes just seemingly for no reason, the tabs will animate to the clicked tab as expected but the route change from my NuxtLink has not not happened.
Code (ignore the @click.stop.prevent, this was me "trying" to fix it:
Please see below screenshots of what is happening, the correct behaviour should look like this:
When the bug happens, this is what it could look like (tab is Settings, route and selectedTab are details):
I expect that this isn't a bug in PrimeVue and it is more my lack of deep-understanding of reactivity in Vue etc.
Any tips? Thanks a lot
Reproducer
none
PrimeVue version
4.1.0
Vue version
3.x
Language
ALL
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response