Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of null (reading 'naturalHeight') #2

Open
sk8killer opened this issue May 14, 2024 · 2 comments
Open

Cannot read properties of null (reading 'naturalHeight') #2

sk8killer opened this issue May 14, 2024 · 2 comments

Comments

@sk8killer
Copy link

The package works well except that a warning appears on Nuxt when I go back to a page where VueCompareImage tag is present... (nevertheless the VueCompareImage is still working)

@sk8killer
Copy link
Author

Ok, my issue was that the plugin was client only. So embracing with ClientOnly tag corrected the problem.

<ClientOnly>
    <VueCompareImage :left-image="boldini1" :right-image="boldini2" hover slider-line-color="#ffff00" />
</ClientOnly>

@zedjarvis
Copy link
Owner

Thank you For the feedback, I'll note that in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants