Skip to content

Commit

Permalink
[fixed] Vuejs warning about transition css usage
Browse files Browse the repository at this point in the history
HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates.
You should probably use "leave-class" instead of "leaveClass". 
You should probably use "enter-to-class" instead of "enterToClass"
  • Loading branch information
mosinve committed Mar 29, 2017
1 parent 5da711c commit 9b78ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/tab.vue
@@ -1,5 +1,5 @@
<template>
<transition enterToClass="show" leaveClass="show" @after-enter="afterEnter" mode="out-in">
<transition enter-to-class="show" leave-class="show" @after-enter="afterEnter" mode="out-in">
<div role="tabpanel" class="tab-pane"
:class="[{fade, disabled, active: localActive}]"
v-if="localActive || !lazy" v-show="localActive || lazy"
Expand Down

0 comments on commit 9b78ce4

Please sign in to comment.