antoniandre / wave-ui

A UI framework for Vue.js 3 (and 2) with only the bright side. ☀️
https://antoniandre.github.io/wave-ui
MIT License
546 stars 41 forks source link

Tooltips causing issues with server side rendering #78

Closed macjuul closed 2 years ago

macjuul commented 2 years ago

Hello!

I ran into a problem where WTooltip is throwing an error using nuxt SSR due to the use of window.

image

I can make a bypass for now however it would be great if the tooltip component has a SSR check built in.

Thanks!

antoniandre commented 2 years ago

Hi @macjuul, thanks for reporting. This should now be fixed in version 1.45.14. Could you let me know if the issue is gone on your end? If not please reopen the issue and share your code and the full error message including the line number. :)

macjuul commented 2 years ago

Can confirm it's working as intended now 🙂