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

SSR not supported #5

Closed
wilk opened this issue May 5, 2017 · 2 comments
Closed

SSR not supported #5

wilk opened this issue May 5, 2017 · 2 comments

Comments

@wilk
Copy link

wilk commented May 5, 2017

Missing support for Server Side Rendering: invoking document.addEventListener('click', handler) doesn't work at server-side.

@luventa
Copy link
Member

luventa commented Jun 1, 2017

I will add SSR check for click-outside soon.
Thanks for reporting this.

@luventa luventa closed this as completed in b4a9311 Jun 2, 2017
@luventa
Copy link
Member

luventa commented Jun 2, 2017

hi @wilk , I just published new version for this component.
SSR error is avoid. But I'm not sure if it still works on Server side render.
I've checked Vue's docs and found out that they might want to provide API of document for SSR. But it seems not support events yet. Head Management

Will make this support SSR once they provide the functionality. 😄

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