Skip to main content

Search and Top Navigation

#9536 closed bug (duplicate)

Opened September 05, 2013 02:31PM UTC

Closed September 05, 2013 02:39PM UTC

Position: incorrectly calculates collision bounds when transformations applied

Reported by: DarkSerg Owned by:
Priority: minor Milestone: none
Component: ui.position Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

When using position method on elements which have css transformations applied (eg. rotate or scale) and enabling collisions detection will result in wrong bounds detection.

See example here:

Drag the green box to the right or bottom border of the window. You will see it detects bound of transformed elements by original box.

And here is the second issue. Chrome makes transformation after position of target element was set. Result is initial position is wrong. But it fixed after you click or drag the parent. Not sure if it's either Chrome or UI bug.

Attachments (0)
Change History (1)

Changed September 05, 2013 02:39PM UTC by tj.vantoll comment:1

resolution: → duplicate
status: newclosed

Duplicate of #6844.