Open jsznap opened 1 year ago
When you using frameworks, make sure you excute Zoomist after elements are rendered.
Like React useEffect()
hook, or Vue onMounted()
lifecycle.
I also has this issue, I'm using a tab navigation component of a dashboard template(https://myrathemes.com/lunoz/layouts/vertical/ui-tabs.html). When I want place an image inside the tab, the image's width and height become 0. but if I click the tab when the page reload at the first moment. It suddenly can display normal. I've tried many times and method, just don't work. Can anyone know what cause this issue?
I have a very standard implementation except i'm using Alpine-JS models. Sometimes when images load, they load with a width/height of 0px. resizing the image does not fix it. Anyone know of any reason this could happen?