Mask image always applied to root instead of element
pjeweb opened this issue ยท comments
Paul Golmann commented
Bug report
Description / Observed Behavior
If you apply a mask image to an element, it gets applied relative to the root node (top left most) instead of the offset position of the element.
Expected Behavior
I expected the mask to be applied to the elements bounds.
Reproduction
Reproduction using the same simple mask (just a 100x100 rect) to three elements. One positioned absolute to the top left, one slightly offset (only part of it is visible) and one centered on the canvas being hidden completely.
Additional Context
n/a
github-actions commented
๐ This issue has been resolved in version 0.10.13 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐