We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The server side rendering fails with ReferenceError: navigator is not defined. It is caused by the following:
ReferenceError: navigator is not defined
ng-bootstrap/src/util/autoclose.ts
Line 11 in 3170f90
Not applicable because of server side rendering.
Angular: 7.2.4
ng-bootstrap: 4.0.3
Bootstrap: 4.3.1
The text was updated successfully, but these errors were encountered:
fix(autoclose): browser detection for SSR
ce1d1ac
Fixes ng-bootstrap#3025
@orestisioakeimidis thanks for reporting, should be fixed in 4.0.4 next week. We'll set up SSR tests for CI to avoid this in future.
4.0.4
Sorry, something went wrong.
fix(autoclose): browser detection for SSR (#3027)
4c625fc
Fixes #3025
5536368
Successfully merging a pull request may close this issue.
Bug description:
The server side rendering fails with
ReferenceError: navigator is not defined
. It is caused by the following:ng-bootstrap/src/util/autoclose.ts
Line 11 in 3170f90
Link to minimally-working StackBlitz that reproduces the issue:
Not applicable because of server side rendering.
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 7.2.4
ng-bootstrap: 4.0.3
Bootstrap: 4.3.1
The text was updated successfully, but these errors were encountered: