clauderic / clauderic/react-sortable-hoc
Offsets are wrong when container is scaled
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 959
- PR merge metrics
- No merged PRs in 30d
Description
How to reproduce:
1. Go to the basic demo page: http://clauderic.github.io/react-sortable-hoc/#/basic-configuration/basic-usage?_k=jtwbel
2. Apply `transform: scale(0.3);` on the scrolling container, `Showcase__style__list Showcase__style__stylizedList`.
3. Try dragging, all offsets are wrong now.

The main issue is that the drop index (mouse position) seems to be wrong now.
I understand that the dragged item scaling is wrong because it's in a different container but I would expect the mouse (drop index) to be correct.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.