Search and Top Navigation
#13278 closed bug (duplicate)
Opened June 23, 2015 06:24PM UTC
Closed June 30, 2015 01:07AM UTC
Scaled Draggable helperProportions are not "scaled"
Reported by: | rawk | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.draggable | Version: | 1.11.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
A scaled element (modified with css:
transform: scale(0.5, 0.5)for example) would not have the scaled proportions stored in the
helperProportionsproperty.
For example: a 400px by 400px div scaled by (0.5, 0.5) should have a 200px height and width stored in the
helperProportionsproperty, however, it has the full proportions.
This causes problems when interacting with droppables that have the tolerance parameter set to "touch" since they would "touch" even if they're not visually touching, and there may be many other problems related to scaled elements, but this one was the one that I faced.
Attachments (0)
Change History (5)
Changed June 23, 2015 06:29PM UTC by comment:1
Changed June 23, 2015 06:29PM UTC by comment:2
_comment0: | I will be submitting a pull request shortly with a possible fix → 1435084212488754 |
---|
Changed June 23, 2015 07:08PM UTC by comment:3
Pull request submitted
Changed June 23, 2015 11:16PM UTC by comment:4
It seems this bug was reported in jQuery several years ago. They decided not to fix it though: http://bugs.jquery.com/ticket/11114
I will be submitting a pull request shortly with a possible fix