-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Angular Universal (Angular 8, 12.2.0) null window/document reference #205
Labels
Comments
I think you are correct. We should use this.document instead. Do you want to create a pull request? |
will do @maxisam 👍 |
Done, Check #206 |
please try 12.2.1-beta.2 |
Didn't have a lot of time past days, but I just checked it, and glad to report it solved the issue. |
@coenmooij no problem. Thank you for making a pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When adding Angular Universal to my Angular 8 app, I'm getting this error when I refresh on a page where I've included the clipboard directive.
Referring to this line of code:
ngx-clipboard/projects/ngx-clipboard/src/lib/ngx-clipboard.service.ts
Line 92 in c725ebb
Is there a reason it's not using
this.document
instead ofthis.window.document
?The same happens one more time a little bit earlier in the file:
ngx-clipboard/projects/ngx-clipboard/src/lib/ngx-clipboard.service.ts
Line 67 in c725ebb
The text was updated successfully, but these errors were encountered: