A problem was reported here in the past, and was solved for fabricjs version <=5.x
Since then fabricjs has been updated with many breaking changes, including some that break the above solution.
I reported my problem also in the fabricjs forum
Here is the example that runs ok with fabricjs version 5
and here is the example that fails with fabricjs version 6
I would be grateful if someone could show me how to fix the problem when using threejs and fabricjs version 6.x.
Thanks