Skip to content

Convert className toString to work for SVGs#153

Open
BenjaminWaye wants to merge 4 commits into
3DJakob:masterfrom
BenjaminWaye:patch-1
Open

Convert className toString to work for SVGs#153
BenjaminWaye wants to merge 4 commits into
3DJakob:masterfrom
BenjaminWaye:patch-1

Conversation

@BenjaminWaye
Copy link
Copy Markdown

No description provided.

Comment thread index.js Outdated
Comment thread index.js Outdated
@BenjaminWaye
Copy link
Copy Markdown
Author

This is an important fix. This is still broken when pressing on an SVG in the React tinder card

The SVG doesn't have className so instead null is sent which causes an exception. The solution is to getAttribute("class") instead.

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.

1 participant