Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test drag position is correct within an absolute position element #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dotnetCarpenter
Copy link
Collaborator

Dragging within an element with position: absolute doesn't appear to work. This unit test highlight the issue. I'll work correcting this in another PR or an amendment to this.

@gtramontina
Copy link
Owner

This is interesting... I haven't thought about this before. Is it something blocking you from moving on with a project of yours?

@dotnetCarpenter
Copy link
Collaborator Author

No. Just something I think draggable.js should support. I got it semi working with translate(), but that means dropping support for some old browsers, including IE8 and less. What do you think?

@gtramontina
Copy link
Owner

I think using translate is the way to go... I'd rather support the new web than the old web (IE) :-)

@bung87
Copy link
Collaborator

bung87 commented Jun 12, 2014

Today I faced this problem,I think imporve 'getInitialPosition' function to make cross browser support would be greate,for now It just work fine with 'static' and 'fixed' position element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants