Anywhere inside svg,
- mousedown inside the svg, e.g. on an element or on the svg canvas itself
- drag the cursor around
- note how the cursor changed to an i-beam
Solutions I tried that didn't work
- changing the CSS cursor to the dragged svg element to "cursor: default !important"
- changing the CSS cursor to the root svg element to "cursor: default !important"
- changing the CSS cursor to the html body element to "cursor: default !important"
- using the CSS of all the above 3
- changing document.onselectstart as per chrome sets cursor to text while dragging, why?
- changing the root svg element's
cursor
attribute to "default" or "pointer" - changing the dragged element's
cursor
attribute as above - changing both the root svg element's and dragged element's
cursor
attribute
I'd appreciate any ideas. As far as I can tell thus far, it's a bug in Webkit. This happens in Chrome and Safari but no other browsers.