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

Add support for the svg cursor attribute #3326

Closed
wants to merge 1 commit into from

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

@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