Skip to content

md-select overlay not dismissed inside dialog #2272

Closed

Description

@chpasha

Bug, feature request, or proposal:

bug

What is the expected behavior?

if you open md-select inside md-dialog component and click somewhere outside of md-select overlay (but inside of dialog itself), the md-select overlay should be closed and onClose event should be fired

What is the current behavior?

now if you click inside dialog outside of md-select overlay, overlay is not closed. but if you click outside dialog overlay, it is closed

What are the steps to reproduce?

http://plnkr.co/edit/oIJQsOZVt0aKRFPe9rde

actually it is never dismissed in plunker, and what is worse, the overlay of md-select is shown below dialog overlay. But in real world application I get the behaviour described above - md-select is dismissed when clicking outside overlay, but not if it is within dialog

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

angular 2.2.4, material 2.0.0-alpha.11-3, ubuntu 14.04, Firefox 50.1, Chrome 55

Activity

  1. crisbeto commented on Dec 18, 2016

    @crisbeto
    Member

    Your Plunkr breaks because it's missing some CSS (e.g. the overlay isn't position: absolute), however there definitely is an issue with the backdrop not being over the dialog.

  2. fxck commented on Dec 19, 2016

    @fxck
    Contributor

    Yes, there needs to be a proper stacking manager.

    #1584 (comment)

  3. self-assigned this
    on Dec 19, 2016
  4. added 3 commits that reference this issue on Dec 19, 2016
    b203c28
    7114888
    c5de24f
  5. added a commit that references this issue on Dec 20, 2016
    b16031a
  6. 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.

  7. 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions