Skip to content

Quickly toggling expansion panel leaves it in undefined state #5743

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

Closed
willshowell opened this issue Jul 13, 2017 · 6 comments
Closed

Quickly toggling expansion panel leaves it in undefined state #5743

willshowell opened this issue Jul 13, 2017 · 6 comments
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@willshowell
Copy link
Contributor

Bug, feature request, or proposal:

Bug

Current behavior

expansion-bug

Reproduction

http://plnkr.co/edit/PaoRWzPQe29y1x7BBnvr?p=preview

Is there anything else we should know?

Maybe similar to #4932?

@jelbourn jelbourn added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Aug 17, 2017
@willshowell
Copy link
Contributor Author

Note that to replicate

  1. Start with the panel open
  2. Quickly close -> open

@crisbeto
Copy link
Member

Another way is to slow down the animation and toggle between accordions.

@willshowell
Copy link
Contributor Author

I think you've mentioned it elsewhere, but here's a plunker showing that it is likely a bug in angular/[email protected]:

http://plnkr.co/edit/1Lk0pj6B9V1lCFqSlms8?p=preview

Do the same thing to replicate:

  1. Start with panel open
  2. Quickly close -> open

@willshowell
Copy link
Contributor Author

The original issue seems to be fixed with the latest animations updates, but the toggle icon still rotates the wrong way when quickly closing and then opening.

expansion-updated-2

@crisbeto
Copy link
Member

crisbeto commented Nov 4, 2017

Closing since I'm having a hard time reproducing it anymore and even in that case the issue is on the @angular/animations side.

@crisbeto crisbeto closed this as completed Nov 4, 2017
@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

3 participants