[Bug Report] v-tabs still buggy with named routes
See original GitHub issueVersions and Environment
Vuetify: 1.0.0 Vue: 2.5.13 Browsers: Chrome 64.0.3282.140 OS: Windows 7
Steps to reproduce
Create a v-tabs
component, set v-model
and assign tabs to named routes with the to
prop.
See codepen for example. Click on the different tabs a few times and see how the indicator is sometimes out-of-sync.
Expected Behavior
Tabs slider to move as tabs are clicked and always to show under the active tab.
Actual Behavior
Slider does not always move. Also, in my project the slider does not show at all on initial load, but I am not able to replicate this in the codepen.
Reproduction Link
https://codepen.io/anon/pen/paryej
Other comments
The tabs__item--active tabs__item
class is applied to the correct tab, but the slider does not always move. When the bug appears, the v-model
does not reflect the route path but rather the tab index (it seems).
This issue has been present since 1.0.0-beta6, but is supposed to be fixed in 1.0.0 (see #3203). It seems it was fixed only when the route is specified using path
, but not when using named routes.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
the same here …
Has this ever been fixed? I’m on
"vuetify": "^1.5.5"
and it seems to still persists. If I add an string as a route everything works fine. If I add a named route it loads the correct component and route, but the animation and the active tab are buggy. The animation does not show up and the active tab underlying is under the wrong tab.