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

feat(events): in all element classes, look for canvas className #1164

Conversation

gynekolog
Copy link
Contributor

@gynekolog gynekolog commented Mar 2, 2023

fix #1135

But the tests fail and I can't solve/fix them.

Perhaps someone else could be more successful.

@neodescis
Copy link
Contributor

Tests are failing because the test events have mock elements with classList variables that do not define contains(). I've opened another PR that addresses the tests.

@gynekolog
Copy link
Contributor Author

@neodescis Thank you for the better pull request, I'm going to close this one.

@gynekolog gynekolog closed this Mar 3, 2023
@gynekolog gynekolog deleted the feature/handle-keyboard-events-with-maplibre branch March 13, 2023 07:44
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.

Keyboard events are not handled when using maplibre-gl-js
2 participants