Skip to content

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Mar 2, 2016

We have to separate transitions from sidenav because we don't actually remove the hook listener and as such onTransitionEnd_ could get called from the browser. There's a bunch of override methods missing from the Angular testing, and we can't wait on their implementation.

This will become moot with ngAnimate, so I think it's fine.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 2, 2016
@hansl hansl force-pushed the sidenav-fix branch 5 times, most recently from a1b7111 to 89eb7be Compare March 2, 2016 03:31
@hansl
Copy link
Contributor Author

hansl commented Mar 2, 2016

I also moved Chrome Beta to optionals. SauceLabs can't start it up apparently.


function endSidenavTransition(fixture: ComponentFixture) {
let sidenav: any = fixture.debugElement.query(By.directive(MdSidenav)).componentInstance;
(<any>sidenav).onTransitionEnd_({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will fail on dart (calling a private method).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made public then.

@jelbourn
Copy link
Member

jelbourn commented Mar 2, 2016

LGTM

@hansl hansl merged commit 4009fb9 into angular:master Mar 2, 2016
@hansl hansl deleted the sidenav-fix branch March 3, 2016 01:49
andrewseguin added a commit to andrewseguin/components that referenced this pull request Oct 15, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants