-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
FocusTrap: 'Node is not defined' in server side rendering #8981
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 14, 2017
Fixes a server-side rendering error due to the `Node` class not being being available in Universal. Fixes angular#8981.
jelbourn
pushed a commit
that referenced
this issue
Jan 4, 2018
Fixes a server-side rendering error due to the `Node` class not being being available in Universal. Fixes #8981.
jelbourn
pushed a commit
to jelbourn/components
that referenced
this issue
Jan 8, 2018
Fixes a server-side rendering error due to the `Node` class not being being available in Universal. Fixes angular#8981.
jelbourn
pushed a commit
to jelbourn/components
that referenced
this issue
Jan 9, 2018
Fixes a server-side rendering error due to the `Node` class not being being available in Universal. Fixes angular#8981.
jelbourn
pushed a commit
that referenced
this issue
Jan 9, 2018
Fixes a server-side rendering error due to the `Node` class not being being available in Universal. Fixes #8981.
tinayuangao
pushed a commit
that referenced
this issue
Jan 10, 2018
Fixes a server-side rendering error due to the `Node` class not being being available in Universal. Fixes #8981.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
Bug
What is the expected behavior?
the error not occur.
What is the current behavior?
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
in ssr, sidenav open and focustrap trigger.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 5.1.1
material2 5.0.1
Is there anything else we should know?
https://github.com/angular/material2/blob/623be22e58d0074a109ac03bdf00afa7c60291ac/src/cdk/a11y/focus-trap.ts#L226
https://github.com/angular/material2/blob/623be22e58d0074a109ac03bdf00afa7c60291ac/src/cdk/a11y/focus-trap.ts#L248
this line might be cause
The text was updated successfully, but these errors were encountered: