-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Bug: MdSidenav [opened] causes unresolved event _openPromiseReject #1382
Comments
…ribute on the html component creates _openPromise via toggle(), which is never resolved, like it's usually done with with _onTransitionEnd (issue angular#1382)
alpha.9-3 - same problem. |
It seems to be related to #1370 |
I'm having similar issue even after the PR. It happens if I double click in a toggle sidenav open/close. It only happens if I double click pretty fast. Only on the transition phase. The sidenab toggled normally, however, I'm getting an error on my console log:
Eq: <button md-button class="md-icon-button" aria-label="Open Menu" (click)="menu.toggle()">
<md-icon>menu</md-icon>
</button>
<md-sidenav #menu [opened]="true" mode="side" layout-padding>
My Sidenav
</md-sidenav> I believe is something related to the method _onTransitionEnd(). I've commented the code inside PS: After the first error on console.log. If I double click, I no longer get errors.
|
@leocaseiro please file a new issue |
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. |
Bug when using MdSidenav open as default:
<md-sidenav #demo opened="true">
The browser claims of an error when trying to close it with
<button md-button (click)="demo.close() / toggle()">Close</button>
The text was updated successfully, but these errors were encountered: