Coder Social home page Coder Social logo

position:static? about dragdrop HOT 5 CLOSED

pyrsmk avatar pyrsmk commented on August 26, 2024
position:static?

from dragdrop.

Comments (5)

kbjr avatar kbjr commented on August 26, 2024

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.

pyrsmk avatar pyrsmk commented on August 26, 2024

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.

kbjr avatar kbjr commented on August 26, 2024

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.

pyrsmk avatar pyrsmk commented on August 26, 2024

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.

kbjr avatar kbjr commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.