components icon indicating copy to clipboard operation
components copied to clipboard

Dialog Component Animation

Open ArmaProjects opened this issue 8 years ago • 3 comments

Bug, feature request, or proposal:

Feature Request

What is the expected behavior?

Possibility to animate Dialog flying out from "parent button" on open and flying back to "parent button" on close. The way it was implemented in angularjs: https://material.angularjs.org/latest/demo/dialog

What is the current behavior?

The dialog component has no animation options.

What are the steps to reproduce?

Current: https://stackblitz.com/angular/eaaovbxppyne?file=app%2Fdialog-overview-example.ts Desired: angularjs: https://material.angularjs.org/latest/demo/dialog

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

The animation perception is more natural. The movement from parent on open and to parent on close.

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

All

Is there anything else we should know?

ArmaProjects avatar Mar 12 '18 11:03 ArmaProjects

Closing as duplicate of #10544

josephperrott avatar Apr 03 '18 21:04 josephperrott

@ArmaProjects this SOF should give you the answer on how to do it:

https://stackoverflow.com/questions/43476958/how-can-i-position-a-dialog-above-the-triggering-button/50496251#50496251

marc-wilson avatar Jul 18 '18 15:07 marc-wilson

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.