loadFromJSON v6
#8059
-
render does not seem to occur after loadFromJSON, objects are not visible until canvas is clicked . using version v6 Example @ https://jsfiddle.net/brianp70/8xry0meb/22/ 2nd: click "Reload" method 1 or 2 |
Beta Was this translation helpful? Give feedback.
Answered by
17hz
Jul 13, 2022
Replies: 2 comments 4 replies
-
now you should use canvas.loadFromJSON(json).then(function(){canvas.renderAll()}) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
brianp70x
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
loadFromJSON
has been an Promise in v6, you should not callcanvas.renderAll()
as callback anymorenow you should use