Comments (5)
- Если не задан параметр
draggable
, то берется nodeName первого тега, либоLI
, если контейнер пуст, это стандартная практика; - Никакой магии, просто не охото было возиться с
matchSelector
, это простенький полифил.
from sortable.
- Да, но сам контейнер разве должен становится
draggable="true"
?
from sortable.
Понял вас, исправлю.
from sortable.
Поправил.
from sortable.
работает. спасибо
from sortable.
Related Issues (20)
- [bug] On an iPhone Safari with the new iOS 17.4 the onFilter function does not work
- [bug] 跨iframe拖动,config pull:"clone"失效,原位置的组件会被拖走
- 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
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.