Comments (5)
This has always been a requirement of the library because it uses the top
and left
css properties to move the dragged element; If the element has positiion: static
it wouldn't go anywhere. The only change is that now it throws an error to warn you about it.
from dragdrop.
I'm confused. I never had to change the position into absolute or relative mode with the 0.2.3 and it worked very well. Moreover, it works with this version too. I've just commented the verification.
EDIT: it seems it just works with chrome
from dragdrop.
Can you show me an example of what you're doing?
On Mon, Nov 12, 2012 at 12:47 AM, Aurélien Delogu
[email protected]:
I'm confused. I never had to change the position into absolute or relative
mode with the 0.2.3 and it worked very well. Moreover, it works with this
version too. I've just commented the verification.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-10280281.
James Brumond
[email protected] | [email protected]
http://www.jbrumond.me http://www.jbrumond.me
360.713.8824
from dragdrop.
Nope, I can't, sorry :) But, just try it with chrome, without change position:static
. Anyway, you don't explain how we can use your library into your documentation (at least, with the position
behavior), maybe we should update this file.
from dragdrop.
Okay, I just looked back at the condition and it is (incorrectly) checking the anchor
element for position: static
when it should be checking the element
. I will fix this as I think this is the problem you are seeing. If this is not the problem you are having, please reopen.
from dragdrop.
Related Issues (14)
- dragClass not being removed on dragEnd HOT 2
- provide a way to hook into dragEnd/dragStart/dragging etc. HOT 1
- [patch] Allow the bounding box to be set from outside the constructor
- boundingBox: 'offsetParent' doesn't work for position: relative HOT 1
- Is there an online demo for this somewhere? HOT 2
- Only supports one draggable at a time? HOT 4
- Using "right" property instead of "left" causes odd behavior on first dragstart
- confuse about the body().clientWidth code ? HOT 2
- "body()" can be support for all browser? HOT 1
- Doesn't work on mobile HOT 1
- jquery plugin not included in release 0.3.0
- Problems with fixed positioning to bottom : 0px HOT 2
- unbind doesn't work HOT 3
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 dragdrop.