0.15.7
The tabs slider showing on the active tab.
The tabs slider is hidden until you click on any tab.
This is unfortunately part of how v-tabs
works, it needs to know its dimensions to calculate the bar position. You can manually do this, or you can just add the lazy prop to your v-dialog
.
@johnleider How do I know when the dialog is ready when using lazy? I have soem properties inside the dialog and I get errors now. Without lazy it works fine
The issue list of this repo is exclusively for bug reports and feature requests. For general questions, please join the Discord chat room. You can also check reddit or stackoverflow. Do not forget to create a reproduction that shows your problem
This is an annoying bug.
Have you considered something like this instead of the window resize event for example? I made a quick test adding that on the resize directive and it fixes this.
Im not sure how it might affect the rest of the codebase, but they even claim that it performs better than the window resize event that is used currently on the resize directive, so it might improve the whole vuetify performance!
@johnleider
@mrodal i agree
any news here if this will be refactored?
hello, I confirm that using "lazy" attribute it works,
here is our app https://app.mappd.io
Hello, if anyone have this issue outside a dialog, just wrap with "v-lazy" component. As it's described in docs, they will render when needed.
This may not be your case,
but in my case, binding
(using the same v-mode attribute which is defined 'null' in Vue object's data bracket )
Most helpful comment
This is unfortunately part of how
v-tabs
works, it needs to know its dimensions to calculate the bar position. You can manually do this, or you can just add the lazy prop to yourv-dialog
.https://codepen.io/johnjleider/pen/gGxGBZ