-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOM would never be removed with vue transition #14
Comments
Astray-git
added a commit
that referenced
this issue
Oct 9, 2016
Astray-git
added a commit
that referenced
this issue
Oct 9, 2016
fix #14 wait for transition before remove model
@Astray-git Still have problems, but not with vue transition. vue-dragula@1.2.0 At the same conditionm I just replace li element with a custom component. When I drag the component into another container, the source component still exists. <template>
<div class="page-test">
<div v-for="category in categories">
<h3>{{category.name}}</h3>
<div v-dragula="category.list">
<!-- work fine -->
<!-- <div v-for="item in category.list">{{item.name}}</div> -->
<!-- buggy -->
<example v-for="item in category.list" :item="item"></example>
</div>
</div>
</div>
</template>
<script>
import Example from './Example.vue'
export default {
components: {Example},
data () {
return {
categories: [{
name: 'in progress',
list: [{name: '1'}, {name: '2'}]
}, {
name: 'plan',
list: [{name: '3'}]
}]
}
}
}
</script> Example.vue <template>
<div>{{item.name}}</div>
</template>
<script>
export default {
props: {
item: {type: Object}
}
}
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I drag into another container, the HTML element will be added class
scale-leave
but never be removed.The text was updated successfully, but these errors were encountered: