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 bug with click handling when using SVGs #1486

Open
wants to merge 1 commit into
base: howling-mad
Choose a base branch
from
Open

Fix bug with click handling when using SVGs #1486

wants to merge 1 commit into from

Conversation

ianchadwick
Copy link

Add a check on the has method to make sure that node.className is a string as this isn't the case when the node is an SVG and means click handling breaks as the trim method doesn't exist on the object

Add a check on the has method to make sure that node.className is a string as this isn't the case when the node is an SVG and means click handling breaks as the trim method doesn't exist on the object
@GenticsDev
Copy link
Contributor

Can one of the admins verify this patch?

2 similar comments
@GenticsDev
Copy link
Contributor

Can one of the admins verify this patch?

@GenticsDev
Copy link
Contributor

Can one of the admins verify this patch?

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