I faced with a trouble using magicZoom. When I'm fast change between 2 pictures which are have activated magicZoom, magicZoom library shows me in console:
Uncaught TypeError: Cannot read property 'width' of null
at d.eval (eval at <anonymous> (magiczoom.min.js:11), <anonymous>:1:84962)
at Function.eval (eval at <anonymous> (magiczoom.min.js:11), <anonymous>:1:4601)
at eval (eval at <anonymous> (magiczoom.min.js:11), <anonymous>:1:4880)
- Here's additional information:
- Magic Zoom version number : Magic Zoom Plus v4.5.39.
- Magic Zoom settings used on the page.: I'm using such API methods as MagicZoom.update, MagicZoom.refresh(node>).
- What other JavaScript is running on the page (this can affect Magic Zoom). : mustache.min.js, device.min.js, amplience-sdk-client.min.js, jcarousel.min.js.
It works fine, but how can I prevent these errors in the log? Do you have any thoughts about that? Thanks!