Comments (9)
@chrizz1001 and @MECLab-Keags I've found that applying a css style of 'min-height' will help allow you to add to empty lists, see the jsfiddle here: https://jsfiddle.net/8e52q8ya/
from sortable.
@chrizz1001 Did you manage to resolve this issue? I'm also experiencing some strange behaviour when trying to drag between empty lists.
from sortable.
Hi,
I have exactly the same problem.
Good job for this script.
from sortable.
Yes, strange problem try to solve it for this week.
from sortable.
The problem arises if you do not specify an option draggable.
http://jsfiddle.net/tQ6FL/3/
from sortable.
It's good! thank you.
from sortable.
specifying the draggable option fixed the problem for me too. Thank you!
from sortable.
Hi!
First of all: Wonderfull script you did here! Sadly I have to re-open this, as I see the same behavior here.
See my fiddle:
https://jsfiddle.net/dv91ktmh/
As you can see I have set the draggable option as well as the handle option.
Moving Items from one of the source lists to the first list works good. After first sorting action (inside the first list) everything stops working.
I tried both: master and dev branch. Same behavior.
Any hint would be helpfull. Maybe I have some missconfiguration?
from sortable.
I solved this by replacing the <ul id="myList">
with a <div id="myList" class="lane">
lane class has min-height: 8rem;
I did not figure out what specifying a "draggable option" means, respectively it didn't work.
from sortable.
Related Issues (20)
- This library breaks when using `container-type: inline-size;`
- [bug] `draggable` params doesn't behave the same if it's not present vs undefined / null / empty / false
- [bug] onEnd indexes are incorrect when using `draggable` HOT 1
- [bug] revertOnSpill won't work when swap:true
- [bug] Touch Events Issue: Links Inactive After Minimal Drag
- Teste
- Update Sortable version with latest changes
- [bug] Safari 17.4.1 stalling when reordering (known bug?) HOT 1
- Can I set the swapThreshold for an element in the list instead of the entire list
- How to prevent duplicates on multidrag HOT 3
- node remove, blind bug
- Maintain Dragged Item Opacity During Drag
- Removing the selected class when drag little bit and placed the same potion
- [feature] keyboard navigation support (suggested only for sortables with handles)
- [feature] Add originalEvent to Event's documented, public API
- custom-ghost-append
- Sort items only onEnd
- [bug] Sortable is always undefined on Instagram
- [bug] Click events not firing after dragging element with pull: 'clone'
- Preset position some elements HOT 1
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 sortable.