Open tardyp opened 6 years ago
After more debug, it looks like vuetify defines overlay class with:
.overlay {
pointer-events: none;
}
the overlay rect has a svg attribute pointer-events='all', but this is overruled by the css.
So the workaround is to create a css rule with more priority.
svg rect.overlay {
pointer-events: all;
}
Hi, Please see this fiddle: https://jsfiddle.net/tardyp/7hwo1zq3/
It contains a link to vuetify css, which is a UI framework for vue. (i kept it in html for clarity reasons)
If I keep the vuetify css, the brush does not display, and the cursor does not turn into cross.
If I remove the link, the brush work as expected.
I've spend the afternoon scratching my head about it, to finally realize there is something in vuetify.css that is messing with the event handling.