You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serving an angular application with SSR, the directive breaks the application, due to the following error:
ReferenceError: ResizeObserver is not defined
It seems that the error occours in the constructor of the directive.
The text was updated successfully, but these errors were encountered:
A solution would be to use the isPlatformServer() from @angular/common to check if the application is running in SSR and if so, not initialize the ResizeObserver
When serving an angular application with SSR, the directive breaks the application, due to the following error:
ReferenceError: ResizeObserver is not defined
It seems that the error occours in the constructor of the directive.
The text was updated successfully, but these errors were encountered: