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
This is expected behavior: Vue cannot detect the dynamically added classes so you should either add all the classes manually in JS or use Vue to handle it.
Version
2.6.11
Reproduction link
https://jsfiddle.net/hafez/nobjg618/
Steps to reproduce
v-bind:class
What is expected?
Static classes of the element and classes that are added on directive should stay untouched.
What is actually happening?
When toggling a dynamic class, all classes added on directive get removed.
The text was updated successfully, but these errors were encountered: