-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
Description
CheckList
- I agree to follow this project's Code of Conduct
- I have read and followed the Contributing Guide
- I have read and followed the Issue Tracker Guide
- I have searched and referenced existing issues and discussions
- I am filing a BUG report.
- I have managed to reproduce the bug after upgrading to the latest version
- I have created an accurate and minimal reproduction
Version
6.6.4
In What environments are you experiencing the problem?
Chrome
Node Version (if applicable)
None
Link To Reproduction
https://jsfiddle.net/mshndev/yLua1w5g/
Steps To Reproduce
- Open the reproduction
- Change the
shadow.offsetXorshadow.offsetYto a non 0 value (or open this fiddle ) - Click "Run fiddle"
Expected Behavior
It should work and clip like with shadow.offsetX = 0 and shadow.offsetX = 0
Actual Behavior
Wierd rendering, throwing errors
Error Message & Stack Trace
Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')
at Hr.createClipPathLayer (Object.ts:866:29)
at Hr._drawClipPath (Object.ts:895:50)
at Hr.drawObject (Group.ts:514:10)
at Hr.render (Object.ts:686:12)
at Hr.render (Group.ts:541:11)
at Bn._renderObjects (StaticCanvas.ts:637:32)
at Bn.renderCanvas (StaticCanvas.ts:580:10)
at Bn.renderAll (SelectableCanvas.ts:387:10)
at Bn.renderAndReset (StaticCanvas.ts:510:10)
at StaticCanvas.ts:520:59