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
ERROR TypeError: element.getClientRects is not a function
at hasGeometry (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:736:70)
at InteractivityChecker.isVisible (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:636:16)
at InteractivityChecker.isFocusable (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:715:85)
at FocusTrap._getFirstTabbableElement (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:1036:27)
at FocusTrap._getRegionBoundary (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:991:55)
at FocusTrap.focusFirstTabbableElement (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:1013:55)
at FocusTrap.focusInitialElement (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:1006:21)
at SafeSubscriber._next (~/mapia_ng2/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js:948:71)
at SafeSubscriber.__tryOrUnsub (~/mapia_ng2/node_modules/rxjs/Subscriber.js:238:16)
...
What is the use-case or motivation for changing an existing behavior?
I don't know exactly which part make this error occurred. Maybe.. it might be related with sidenav event in SSR. (because other page (not used sidenav) serving well.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Fixes a couple of errors in the focus trap during server-side rendering. They manifested when there's a sidenav that is open by default.
Fixesangular#7633.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
https://github.com/angular/material2/blob/0834a31d03ae6707633e01d43200703840b70c5a/src/cdk/a11y/interactivity-checker.ts#L151
this cdk interactivity-checker code is problem.
What is the current behavior?
What is the use-case or motivation for changing an existing behavior?
I don't know exactly which part make this error occurred. Maybe.. it might be related with sidenav event in SSR. (because other page (not used sidenav) serving well.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.0.0-rc.1
Angular Material2 - 2.0.0-beta.12
Typescript 2.4, 2.5
Browser: all
The text was updated successfully, but these errors were encountered: