-
Notifications
You must be signed in to change notification settings - Fork 77
Add warning & doc entry about conflicts with the "style" attribute on Vuebar elements. #34
Comments
Hey @guykatz, thanks for filling in the issue. Vuebar doesn't init in this case because And what happens here is probably Vue render overwriting Vuebar What I will do from my side is to add information about this in the documentation and add warning in the Vuebar itself. But this behavior can't be fixed because it's needed for Vuebar to work at all. So I just suggest you to wrap your Vuebar container or not using inline styles on the Vuebar elements. |
thanks for the quick answer but I think you have missed something |
Hi @guykatz Oh yeah, you're right I have missed it. But actually it's still kind of applies what I've said. The problem here is that you've missed If you don't provide So Vue probably still treated both of these elements as one - hence the See updated JSFiddle: https://jsfiddle.net/cadoqgaf/2/ |
oh wow, i had no idea about this applying to other elements except of loop. |
so this took me a while to reproduce: https://jsfiddle.net/gkatz/cadoqgaf/
in the jsfiddle above, go to the
<div v-if="loading" style="">
and simply remove the style attribute and everything will work, this also happens with other regular attributes.I am no JS expert and so I sis not debug the problem.
all of my templates look the same, I have many components which show a loading spinner until mounted so this affects all my app. any suggestions?
The text was updated successfully, but these errors were encountered: