You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After analyzing code on VsTabs and VsTab components, I found problem on the flow I wrote in title.
In method: activeChild in VsTabs component value of this.$refs.li is undefined when seleceted tab index is updated on mounted callback. The workaround for this is to put value selectedTab model as computed property.
The actual problem is probably related to the fact that method activeChild is called in mounted callback of VsTabs component on nextTick.
The text was updated successfully, but these errors were encountered:
After analyzing code on VsTabs and VsTab components, I found problem on the flow I wrote in title.
In method:
activeChild
inVsTabs
component value ofthis.$refs.li
isundefined
when seleceted tab index is updated onmounted
callback. The workaround for this is to put valueselectedTab
model ascomputed
property.The actual problem is probably related to the fact that method
activeChild
is called inmounted
callback ofVsTabs
component onnextTick
.The text was updated successfully, but these errors were encountered: