Skip to content

Dialog change width after opening? #2930

Closed

Description

@seanbotha123

#### Bug, feature request, or proposal:
Feature request

#### What is the expected behavior?
Allow changing of MdDialogConfig in the opened component, through the MdDialogRef.

#### What is the use-case or motivation for changing an existing behavior?
We need to open a dialog with a width of 400px, and after a network request resize the dialog to around 800px, to display the retrieved data.

The reason we need the resizing is because when you first open the dialog there are only 2 fields that need to be entered, and this does not warrant a massive 800px dialog.

Having the ability to resize the dialog would be an amazing addition and it would be great to have control over that while the dialog is open.

Not sure if this is possible, but it would be a great feature.

Thanks!

Activity

  1. crisbeto commented on Feb 4, 2017

    @crisbeto
    Member

    It's definitely possible to add this, although you can still do something similar by not setting the width through the dialog config, but rather through your own CSS.

  2. added
    feature
    P5
    on Feb 4, 2017
  3. self-assigned this
    on Feb 4, 2017
  4. added a commit that references this issue on Feb 5, 2017
    0c174d2
  5. added a commit that references this issue on Mar 4, 2017
    02daf3f
  6. added a commit that references this issue on Mar 31, 2017
    a71a5af
  7. added a commit that references this issue on Apr 16, 2017
    ac476e4
  8. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  9. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P5feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions