Skip to content

add pointer-events: none for svg:not(:root)#643

Closed
jzilg wants to merge 1 commit into
necolas:masterfrom
jzilg:master
Closed

add pointer-events: none for svg:not(:root)#643
jzilg wants to merge 1 commit into
necolas:masterfrom
jzilg:master

Conversation

@jzilg
Copy link
Copy Markdown

@jzilg jzilg commented Nov 17, 2016

In Firefox inline SVGs causes JavaScripts Bugs when hovering with the cursor. Setting the pointer-events to none is the workaround for that.

https://css-tricks.com/links-inline-svg-staying-target-events/

In Firefox inline SVGs causes JavaScripts Bugs when hovering with the cursor. Setting the pointer-events to none is the workaround for that.

https://css-tricks.com/links-inline-svg-staying-target-events/
@thierryk
Copy link
Copy Markdown

I'm not sure this "fix" belongs to normalize, but I could be wrong...

@Llbe
Copy link
Copy Markdown

Llbe commented Nov 17, 2016

This is not a bug in Firefox. And nothing on css-tricks.com says it is.

IMO, this should not be in normalize.

@jonathantneal
Copy link
Copy Markdown
Contributor

Not a normalization.

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.

4 participants