components icon indicating copy to clipboard operation
components copied to clipboard

[cdk-connected-overlay] add animation support on opening and closing

Open atshweza opened this issue 9 years ago • 2 comments

Bug, feature request, or proposal:

Feature Request

What is the expected behavior?

Make cdk-overlay-pane slidedown from cdk-overlay-origin

What is the current behavior?

cdk-overlay-pane appears under cdk-overlay-origin

What are the steps to reproduce?

Click Open Menu button in overlay demo. Panel has no animation, it simply appears under button(cdk-overlay-origin) https://github.com/angular/material2/blob/master/src/demo-app/overlay/overlay-demo.html https://material2-test.firebaseapp.com/overlay

What is the use-case or motivation for changing an existing behavior?

Just Follow the Google material design guideline https://material.io/guidelines/motion/choreography.html#choreography-creation. https://material.io/guidelines/motion/duration-easing.html#duration-easing-speed I want to ensure that transition is slow enough that it can be understood

Which versions of Angular, Material, OS, browsers are affected?

@angular/material 2.0.0-beta.3

atshweza avatar Jun 14 '17 11:06 atshweza

You can have animations on the content of the connected overlay: check out the select as an example

https://github.com/angular/material2/blob/master/src/lib/select/select.html

jelbourn avatar Jun 14 '17 23:06 jelbourn

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.