Merge pull request #2147 from Aiosa/mousetracker

Release handler and undefined releasePoint instance
This commit is contained in:
Ian Gilman 2022-04-19 13:44:14 -07:00 committed by GitHub
commit a8233ca6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3561,7 +3561,7 @@
eventInfo.shouldReleaseCapture = false; eventInfo.shouldReleaseCapture = false;
// Release (pressed in another element) // Release (pressed in another element)
if ( tracker.releaseHandler ) { if ( tracker.releaseHandler && releasePoint ) {
tracker.releaseHandler( tracker.releaseHandler(
{ {
eventSource: tracker, eventSource: tracker,