Skip to content Skip to sidebar Skip to footer

Disable Onfocus Event For Svg Element

I realized that tabindex=-1 doesn't work for elements. Is there a way to disable the focus event for it? preventDefault, stopPropagation, stopImmediatePropa

Solution 1:

<svg focusable="false"></svg> does this job.


Post a Comment for "Disable Onfocus Event For Svg Element"