-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
Vue.js version
2.0.0-rc.7
Reproduction Link
http://codepen.io/codysherman/pen/qaArqJ?editors=1010
Steps to reproduce
Have an element already have an !important display trait, such as one of Bootstrap's 'visible-*' classes.
What is Expected?
Vue should hide the element based on the v-show.
What is actually happening?
Because v-show doesn't have an !important tag, it is overruled. In my opinion, in the event of a conflict, the tie should obviously go to Vue, as it is getting its logic dynamically. Angular's ng-show applies the !important tag for this reason.
archerchiu, BrainBacon, joybee007, gerardreches, crossworth and 12 morejonagoldman, sylvainpolletvillard and stiltet