Carousel SSR broken #8447
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
I can't do the Plunkr because is a SSR related issue.
Current behavior
SSR build are broken because the carousel access to window and document objects.
document
carouse.ts: 288 and 290
window
carouse.ts: 337, 605 and 611
Expected behavior
SSR works properly
Minimal reproduction of the problem with instructions
Add carousel with responsiveOptions to app and build for SSR.
What is the motivation / use case for changing the behavior?
Make SSR builds works.
Angular version: 8.2.9
PrimeNG version: 8.1.1
Browser: all
Language: all
The text was updated successfully, but these errors were encountered: