Opened 5 years ago
#15263 new bug
Selectable: items are not correctly calculated using css transformations on container element
Reported by: | nekkid | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.selectable | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Making a container selectable that has transforms like scale and translate, selecting elements acts incorrectly.
I realised that the policy of jQuery and jQuery UI is not to support CSS transformations in its fullest since of some cross-browser incompatibilities. However, as stated in the answer of the following stack overflow post, it is quite simple to amend code of the widget 'selectable' in order to make it work with transforms like translate and scale:
https://stackoverflow.com/questions/48097407/jquery-ui-selectable-css-transform-issue
I would be happy if jQuery UI will integrate the changes into its framework. I hope I helped people tumbeling about the same issue with this post.