fullscreenOnMobile - window issue
Opened this issue · 2 comments
kozdro commented
When apply fulscreenOnMobile
props, then app crashes with error:
[Vue warn]: Error in created hook: "ReferenceError: window is not defined"
found in
---> <InnerImageZoom>
...
window is not defined
HossinAmin commented
I had faced this problem before using Nuxt with ssr enabled. try wrapping your component in <ClientOnly>
tag. If this does solve the issue please provide more information.
HossinAmin commented
I think the owner of this project stopped supporting it years age. Try this one out
https://vue3-zoomer.github.io/vue3-zoomer/guide/zoom-img.html