Comments (7)
I can reproduce. You could use the delay
option to delay the drag action (for now). It works for Draggable
, Sortable
, Swappable
and Droppable
.
new Sortable(containers, {
delay: 200,
});
// or
new Draggable(containers, {
delay: 200,
});
This is not ideal nor obvious. Will look for a better solution 👍 thanks for reporting
from draggable.
@rickghome can you confirm if your problem persists in the new beta release?
@rbarysas your issue should be fixed now!
from draggable.
I have the same issue.
Adding delay helps with clicking, but if I try to drag without waiting a bit, I get strange "ghosting" effect, where mirror element gets stuck to the cursor and does not disappear.
Here's gif: https://i.imgur.com/b0zwVkk.gifv
from draggable.
@rbarysas yes, this seems to be an issue with the current mouse sensor, it needs to prevent native drag elements (images and links) if the delay
is bigger.
This is fixed with a general sensor refactor for the upcoming v1.0.0-beta.3
release, commit is here: 7432c9a
I will leave this open until we release the new beta.
from draggable.
This is awesome. Thanks for the work! 👏
from draggable.
from draggable.
This solves the problem. Closing this bug. Thanks for your hard work!
from draggable.
Related Issues (20)
- Manual discounts permission - Build use case scenarios for testing
- Preventing element from being added in a Sortable HOT 5
- Draggable caught errors while triggering 'drag:over' HOT 1
- Links on https://shopify.github.io/draggable/ in Chromium browsers do nothing when clicked HOT 2
- Unable to start example in Windows 10 HOT 8
- The mirror element created at the wrong place when using flexbox HOT 1
- Does it make sense to replace AbstractEvent with CustomEvent? HOT 2
- Suggestion for cross OS
- Why Sensors trigger events in source container? HOT 4
- keyboard accessibility - feature request
- shopify theme
- Sortable with fixed Layout
- Analysis: 97% of dependency updates in this repository can be merged. HOT 2
- Add Carousal effect on the UI Hero section
- [BUG] - Multiple Container Sortable Bug on touch devices
- Option to set width/height to offsetWidth/Height on drag start HOT 1
- No keyboard accessibility = please add DO NOT USE ALERT HOT 1
- Duplicate Mirror gets created on iOS Safari if the draggable element contains a link
- Swappable:swap cancel async
- Question - Sortable and Snappable
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 draggable.