Comments (3)
Trick is you can’t actually have more than one skyhook drag source dragged at once, so you have to simulate it by having a complex drag preview that looks like it has picked up multiple items. If you feed the preview a list of items that were ticked just prior to dragging the last item, it could render a stack, a number (7 items) or even a bunch of little previews scaled from their original positions. You just need to write the tick selection mechanism. (Shift clicking events caught with mousetrap.js would also work and be easier to cancel.)
from angular-skyhook.
I tried a few solutions, but none that worked properly. Multisort is not the problem. I have difficulties with the preview and I have no idea how to connect this list with another list. Is there no dragTarget in angular-skyhook/sortable?
from angular-skyhook.
Here is example of working preview for multi selection. It was done for agGrid but idea should be similar.
from angular-skyhook.
Related Issues (20)
- Skyhook 1.2.1 seems to cause a script error with Angular 8 and Edge browser. HOT 4
- bug: type error in `@angular-skyhook/multi-backend` 1.2.1 HOT 8
- SkyhookPreview out of position
- Running ng build with optimization set to true breaks this library HOT 7
- Simple sortable freeze on drop HOT 4
- Can skyhook support nested sortable lists HOT 7
- backend.backend is not a constructor HOT 6
- wrong offset in preview in chrome with win10 scaling on HOT 4
- Single backends do not work in 1.3.0 HOT 8
- Providing options is not working yet
- ivy runtime error HOT 26
- inject() must be called from an injection context HOT 1
- working with iframe?
- peer dependency for 1.4.0.rc-0 not updated in multi-backend
- Library breaks when enabling optimizations on Production, on v1.3.3
- skyhook-preview: binding style template via async pipe causes unnecessary change detection HOT 1
- "Cannot find namespace 'NodeJS'" and Module '"../../node_modules/react-dnd-html5-backend/lib"' has no exported member 'default'.
- Are you happy to add me as a contributor to fox the library? HOT 3
- ERROR Error: inject() must be called from an injection context
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 angular-skyhook.