Skip to content

fix: pointerUp capture#68

Merged
imoutaharik merged 1 commit into
masterfrom
fix/pointerUp-capture-DE-291
Jul 3, 2026
Merged

fix: pointerUp capture#68
imoutaharik merged 1 commit into
masterfrom
fix/pointerUp-capture-DE-291

Conversation

@imoutaharik

Copy link
Copy Markdown
Contributor

I noticed a bug testing the drag and drop. Sometimes the ghost would get stuck and the pointerUp event seems to get swallowed.

After several testing attempts, I realized it get stuck when the asset is dropped super fast, still in motion, which is a very common human behaviour. In that case the pointerUp fires on the host page, not inside the iframe, so the finder never received it.

This PR adds host-side pointerUp detection in the SDK: the finder now also listens for the release on the host window, so it catches the drop even on quick, in-motion gestures, which makes the DnD snappy fast and efficient.

@imoutaharik imoutaharik requested a review from marguslant0 July 3, 2026 13:21
@imoutaharik imoutaharik merged commit dc2c656 into master Jul 3, 2026
4 checks passed
@imoutaharik imoutaharik deleted the fix/pointerUp-capture-DE-291 branch July 3, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants