Skip to content

Dialog that starts animating from a specific element #143

@andreialecu

Description

@andreialecu

It would be nice if you could pass an $event to the modal open function so that the animation appears to pop-up from the button/link it is triggered by.

This would be pretty nice for a certain app I'm working on, as there are a lot of clickable items and the visual feedback would be good.

From what I can see, the Menu component already pops up from the $event, so having a modal start animating from there to the center of the screen doesn't seem necessarily hard to implement. Not sure if angular2's animation provider can be used for this or it needs some custom JS animation code.

See here for what this should look like: https://material.angularjs.org/latest/demo/dialog

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions