Fabric.js: Error when using a group as clipPath with the stateful option enabled

Created on 15 May 2020  路  1Comment  路  Source: fabricjs/fabric.js

Version

4.0.0

Test Case

http://jsfiddle.net/9cehdr0s/

Steps to reproduce

Clip using a group with the stateful option enabled

Expected Behavior

Clips the object

Actual Behavior

This will produce the following error:
"RangeError: Maximum call stack size exceeded"

This seems to be a problem in the extend function, which loops somewhere in the clipPath object. (When the stateProperties are saved)

Is there some kind of workaround for now?

bug

>All comments

no one else?

Was this page helpful?
0 / 5 - 0 ratings