Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
11.43k
stars
918
forks
source link
Clip on group not working with width: 0 and height: 0 #1723
Closed
matkokvesic closed 7 months ago
Clip group with child elements should not show anything with following attrs:
https://codesandbox.io/p/sandbox/konva-playground-forked-c2x4hl
Seems like clip attrs are ignored if width and height are 0.
Alternative is to use corresponding clipFunc: