Skip to content

Draggable: Fixed #6980 #340

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

Closed
wants to merge 1 commit into from
Closed

Draggable: Fixed #6980 #340

wants to merge 1 commit into from

Conversation

joeldart
Copy link

Draggable: modified _getRelativeOffset to use inline style rather than .css if defined in px. Fixed #6980 - Draggable DIV jumps in Safari&Chrome after Ctrl+/-

…n .css if defined in px. Fixed #6980 - Draggable DIV jumps in Safari&Chrome after Ctrl+/-
@joeldart
Copy link
Author

Webkit wasn't returning the correct left/top values from getComputedStyle when zoomed in. Consequently, we don't really need the values from getComputedStyle for most cases in draggable since after the initial move, we can use element.style.

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

Successfully merging this pull request may close these issues.

2 participants