-
-
Notifications
You must be signed in to change notification settings - Fork 805
Closed
Description
Description
When dragging an item in a scaled iframe, the droppable shape moves by more than the sensor. This implies the scale transform is not being accounted for.
I was able to reproduce this in the Puck demo app, but not in the dnd-kit iframe stories. Since I was unable to reproduce this in the iframe stories, it could be a Puck issue.
Possibly related: #1704.
Environment
- dnd-kit version: 0.1.13
Steps to reproduce
Currently unable to reproduce in Storybook, but able to reproduce in the Puck demo app.
- Pull this branch: Add Puck example app #1677
- Update deps
- Run
bun dev - Visit http://localhost:5173/
- Drag in a new item
What happens
The droppable shape moves more than the pointer sensor once in the scaled iframe.
Kapture.2025-05-18.at.18.49.58.mp4
What I expect to happen
The droppable shape to follow the pointer sensor
Metadata
Metadata
Assignees
Labels
No labels