-
Notifications
You must be signed in to change notification settings - Fork 3.4k
panel: sometimes doesn't appear in 1.1.23 #11946
Comments
It seems like only the Slide and Scale animations are broken. Seems like there are leftover inline styles from the end of the previous animation that cause problems on the second run. |
For the first issue of panel animations breaking, that's caused by PR #11942 needing to also For the second issue of re-use of panels causing the reused panel to not remove all of the inline styles after animating closed, that looks like it was caused by PR #11390. I'm investigating the right way to eliminate these styles being left around. |
OK, PR #11390 does not appear to be at fault here. It appears that PR #11856 made panels more re-usable, but it didn't account for the transforms on the I've got a solution for this as well and will post a PR to resolve both of these issues soon. |
- this resulted in animated in panels not displaying on screen Fixes #11946
- so that re-used panels don't accumulate transforms - improve type safety and JSDoc comments - remove unused variable and adjust code styles Fixes #11946
- this resulted in animated in panels not displaying on screen Fixes #11946
- so that re-used panels don't accumulate transforms - improve type safety and JSDoc comments - remove unused variable and adjust code styles Fixes #11946
This is fixed in If you find any issues, please report them via GitHub issues ASAP. |
Bug
Demo and steps to reproduce the issue
This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.
Demo URL (required)*: https://material.angularjs.org/HEAD/demo/panel#panel-animations
Detailed Reproduction Steps
Explain the expected behavior
Demos should still work
Explain the current behavior
Panel Animations and Reuse demos are broken.
Discuss the use-case or motivation for changing the existing behavior
Correctness
List the affected versions of AngularJS, Material, OS, and browsers
Add anything else we should know
The text was updated successfully, but these errors were encountered: