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(): mousedown restore after touch end on dispose #10250

Merged
merged 6 commits into from
Nov 3, 2024
Merged

Conversation

asturur
Copy link
Member

@asturur asturur commented Nov 2, 2024

Description

This issue describes the problem #10248
We restore mousedown/pointerdown 400ms after touchend event.
If a dispose happens during that 400ms the setTimeout function won't find a canvas element to attach the event to and throw an error

closes #10248

Copy link

codesandbox bot commented Nov 2, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

github-actions bot commented Nov 2, 2024

Build Stats

file / KB (diff) bundled minified
fabric 924.999 (+0.074) 307.005 (+0.036)

@asturur asturur changed the title fix(): mousedown restore after touch end on dospose fix(): mousedown restore after touch end on dispose Nov 3, 2024
@asturur asturur merged commit 5c1240d into master Nov 3, 2024
21 of 22 checks passed
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.

[Bug]: Touch interaction cleanup causes unhandled exception when canvas is disposed
1 participant