Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Pointer Leave and Out events not being called #716

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

garrlker
Copy link
Collaborator

@garrlker garrlker commented Jun 2, 2024

This change fixes an oversight where we were not using the previous intersection event data for an @pointer-leave/@pointer-out events

That meant when we fired either of those events, typically it was with an empty intersections array, and the events would never get propagated to the object that needed it.

Now they do, and this PR should fix #713

@garrlker garrlker requested review from alvarosabu and Tinoooo June 2, 2024 15:54
Copy link

netlify bot commented Jun 2, 2024

Deploy Preview for tresjs-docs ready!

Name Link
🔨 Latest commit 5368d0b
🔍 Latest deploy log https://app.netlify.com/sites/tresjs-docs/deploys/665cafeefac32b00086c6855
😎 Deploy Preview https://deploy-preview-716--tresjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@garrlker garrlker force-pushed the bugfix/713-pointer-leave-not-calling branch from ab20621 to 974b1e8 Compare June 2, 2024 15:55
@garrlker garrlker force-pushed the bugfix/713-pointer-leave-not-calling branch from 974b1e8 to 66264fc Compare June 2, 2024 16:29
@garrlker garrlker merged commit 0fb51ed into main Jun 2, 2024
7 checks passed
@garrlker garrlker deleted the bugfix/713-pointer-leave-not-calling branch June 2, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

v4.0.1 The onPointerLeave function is not activating.
2 participants