Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-select doesn't work when used within a angular-bootstrap modal #2942

@ramprabhuj

Description

@ramprabhuj

using a md-select with a $modal() created using angular/bootstrap doesn't work due to the z-indexes of the various components.

Two possible solutions might be

  1. Carry over the class attributes of md-select to the md-select container. This way one can create a .modal-contained-select and override the z-index for whatever modal() framework they are using. Without this option one needs to override the values for md-select-menu-container and click-catcher globally.
  2. Can md-select walk up its parents and calculate the max() of the z-index and set the same onto itself and the click-catcher , in the postLink fn ? Directives aren't a bad place to do this though I would personally prefer a CSS option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: won't fixThere are no resources to fix this issue, the priority is too low, or it doesn't align w/ MD spec.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions