Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Does it work with Angular Universal with Server Side Render? #42

Open
Khvesiuk opened this issue Jan 9, 2020 · 2 comments
Open

Does it work with Angular Universal with Server Side Render? #42

Khvesiuk opened this issue Jan 9, 2020 · 2 comments
Assignees
Labels
bug Something isn't working needs investigation This issue needs further investigation
Projects

Comments

@Khvesiuk
Copy link

Khvesiuk commented Jan 9, 2020

When I'm including CarouselComponent on MainPage of the project, it is just freeze everything. Server is not responding. There is no any warning in Node.js console.
But it works fine, when browser generate content. For example if move CarouselComponent to AboutPage, and routing from MainPage to AboutPage. But if I'm trying to refresh About (Server Side Render), same result.

@Khvesiuk
Copy link
Author

Khvesiuk commented Jan 9, 2020

this is not good, but it is work:
<app-carousel *ngIf="isBrowser" [items]="asset.items"></app-carousel>

@gbrlsnchs gbrlsnchs self-assigned this Jan 9, 2020
@gbrlsnchs gbrlsnchs added the bug Something isn't working label Jan 9, 2020
@gbrlsnchs gbrlsnchs added this to To do in Issues via automation Jan 9, 2020
@gbrlsnchs gbrlsnchs added the needs investigation This issue needs further investigation label Jan 9, 2020
@gbrlsnchs gbrlsnchs added this to the Launch stable version milestone Jan 9, 2020
@Twois
Copy link

Twois commented Mar 18, 2020

I got the same issue. A fast workaround if you set the

[autoplay]="false"

I set it based on the platform, so if the platform is server than false, else true.

My suggestion is to this should be handled by this module behind the screen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs investigation This issue needs further investigation
Projects
Issues
  
To do
Development

No branches or pull requests

3 participants