vue-scrolly icon indicating copy to clipboard operation
vue-scrolly copied to clipboard

Error when <svg> in <scrolly> element.

Open erguotou520 opened this issue 6 years ago • 0 comments

It shows error a.match is not a function at VueComponent.onMouseDown when there are some <svg> elements inside <scrolly>.

This is because svg element's className is SVGAnimatedString rather than string.

Currently the workaround is to add @mousedown.stop to the svg element.

erguotou520 avatar Aug 12 '19 07:08 erguotou520