You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: