Related Github issue https://github.com/konvajs/react-konva/issues/555
There you can see, shape.preventDefault(true);
, but I didn't found any way to call this method using React.
The components I am using
<Stage>
<Layer>
<Text {...textProps}/>
</Layer>
</Stage>
Related docs https://konvajs.org/api/Konva.Node.html#preventDefault
See
// get preventDefault
var shouldPrevent = shape.preventDefault();
// set preventDefault
shape.preventDefault(false);
Where can I get shape
??