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
I have some animations, which are done using the animate method. The problem is it gives me Cannot read property 'clearRect' of null. It is specifically due to onChange line in the animate function.
Error: Uncaught [TypeError: Cannot read property 'clearRect' of null]
at reportException (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:62:24)
at Timeout.callback [as _onTimeout] (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/jsdom/lib/jsdom/browser/Window.js:645:7)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7) TypeError: Cannot read property 'clearRect' of null
at klass.clearContext (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/fabric/dist/fabric.js:9317:11)
at klass.renderCanvas (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/fabric/dist/fabric.js:9427:12)
at klass.renderAll (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/fabric/dist/fabric.js:9358:12)
at klass.renderAndReset (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/fabric/dist/fabric.js:9374:12)
at Timeout.callback [as _onTimeout] (/Users/dennis/Documents/projects/ideaonce/backend/node_modules/jsdom/lib/jsdom/browser/Window.js:643:19)
The text was updated successfully, but these errors were encountered:
dennisideaonce
changed the title
Fabric jh
Fabric js video doesn't have the remote images from remote.
Feb 8, 2022
dennisideaonce
changed the title
Fabric js video doesn't have the remote images from remote.
Fabric js TypeError: Cannot read property 'clearRect' of null with animate() function
Feb 8, 2022
Fabric js has a method to animate the object:
I have some animations, which are done using the animate method. The problem is it gives me
Cannot read property 'clearRect' of null
. It is specifically due to onChange line in the animate function.I followed this example: https://github.com/mifi/editly/blob/master/examples/customFabric.js
Any help is highly appreciated!
Fabric js animate method: http://fabricjs.com/animation-easing
The text was updated successfully, but these errors were encountered: