-
Notifications
You must be signed in to change notification settings - Fork 370
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
Scroller not working with Nuxt (ssr) #209
Comments
This is a full working example for Nuxt.js:
|
using nuxt 2.8.0 and vue-infinite-loading 2.4.4 getting errors: TypeError: Cannot read property '_infiniteScrollHeight' of null and TypeError: Cannot read property 'tagName' of null |
@siberiadev solution works for me, just notice that if you are using Nuxt.js 2.4 or higher es recomended use More info: https://nuxtjs.org/guide/plugins/#client-side-only |
I don't use nuxt, But I show this error too |
@siberiadev this solution also works for me, but once I add
to my template, I get a Vue error as below: [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside , or missing . Bailing hydration and performing full client-side render. Could you please take a look at it? |
You can solve this by doing
But ideally the library builds in a check for |
I made pull request to fix this but didn't get any reply or neighter is this request merged in the project. |
with nuxt 2.10.1 you can do something like.
and it should work fine. |
No description provided.
The text was updated successfully, but these errors were encountered: