Skip to content

Conversation

@darcyadams
Copy link
Contributor

React strips the cursor attribute from svg elements. This PR just adds it to the list of supported svg attributes.

See docs here

It is not possible to style the cursor on svg elements with css. So this is a limiting factor when using svg to draw portions of a UI.

@nathancahill
Copy link

+1

# Conflicts:
#	src/renderers/dom/shared/SVGDOMPropertyConfig.js
@facebook-github-bot
Copy link
Contributor

@darcyadams updated the pull request.

@darcyadams
Copy link
Contributor Author

moved this enhancement over to the current master branch.

@gaearon
Copy link
Collaborator

gaearon commented Dec 25, 2015

Thank you for the PR, and sorry about the long wait. Now that #5714 is merged, all attributes on SVG elements will be passed through as is, with no need for the whitelist. I'm closing this but please let me know if you have any troubles in master.

@gaearon gaearon closed this Dec 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants