Comments (6)
Hello @DominiqueFERET ,
I too am having the same issue the updated Draggable component. I have two areas in my project that use the Draggable component. One uses the Draggable component with the Vuejs Transition-group feature and that works great. In fact @David-Desmaisons was kind enough to help me get this working with the last update.
However, the second instance where I don't use the Vuejs Transition-group, I get the same error as you. Like you, all examples work fine without the transition-group if the data is not pulled from an AJAX request, but when I pull from the AJAX source I get the same errors as you.
For now, @DominiqueFERET a work around for the problem is as simple as adding fake transition group tags within the Draggable component. See example 4 from the Readme. You don't actually need to use a transition animation just add the tags. It's not a pretty solution, but if you need something right away, it seems to work.
I can try to put up a jsfiddle that simulates the issue if you need me to, David?
Thanks!
from vue.draggable.
@jlboyd132321, It will be very nice to provide a jsfidlle!
from vue.draggable.
@jlboyd132321 , @DominiqueFERET , just publish version 2.3.1 with a fix.
Please confirm that's correcting your problem,
Thanks
from vue.draggable.
@David-Desmaisons , I was trying to get a jsfiddle example up for you, but you fixed the issue before I could even post the code, lol!
I can't speak for @DominiqueFERET , but it does appear that your version 2.3.1 fix has worked. In my project, both the instances where I use the transition-group tags and the instance where I don't use the transition-group tags work while using AJAX requests for my data. Thanks for the quick fix!
from vue.draggable.
here is my jsfiddle:
https://jsfiddle.net/DominiqueFERET/3uuxa5nL/2/
We're crossed... on jsfiddle, it's working ?! but may be allready in 2.3.1 ... i will try this version on my work...
from vue.draggable.
Yes ! i'm glad to confirm, your change in 2.3.1 works for me !!!
many thanks, David !!!
from vue.draggable.
Related Issues (20)
- Has anyone found a solution for Max depth nesting with vue-draggable? If there is any parameter for setting the maximum depth in the nested solution?
- 判断被拖拽元素是否在目标区域内并阻止拖拽
- TypeError: Cannot read properties of undefined (reading 'class')
- Draggable preventing scroll behavior HOT 1
- [feature request] typing for `change` event
- Has this project stopped updating and maintaining
- New draggable under maintenance HOT 1
- Incorrect display of the sheet after dragend HOT 2
- npm i -S vuedraggable 直接报错
- VueDraggable only @choose @unchoose events only getting triggered in vue2.7.15 version
- Please set the `latest` npm tag to v4
- Not working with Socket.io
- How to disable draggable in vue draggable HOT 1
- How to import nested-draggable component ? Vue2
- Triggering drag and drop programmatically
- Missing required prop: "itemKey"
- how to lock vuedraggable for specific array nested level
- Nested Draggable Input with v-model automatically blurs
- Incorrect Visual Representation After Transferring All Items Between Groups
- Address :force-fallback="true" Issue in Cross-List Drag and Drop Cloning with vue-draggable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue.draggable.