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

Refactor ScrollElement to support pointer events #954

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

x1mrdonut1x
Copy link
Contributor

The event handler onCanvasClick would not trigger on some mobile devices due to the ScrollElement's handleTouchStart calling e.preventDefault(). Tested on iOS Safari and Android Firefox.

Overview of PR

This PR refactors ScrollElement's event handling by replacing traditional mouse and touch events with pointer events.

@x1mrdonut1x
Copy link
Contributor Author

Related: #927

@Ilaiwi Ilaiwi merged commit b42f743 into namespace-ee:master Feb 16, 2025
@x1mrdonut1x x1mrdonut1x deleted the feature/pointer-events branch February 17, 2025 11:29
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