Components: mat-select-panel inside ng2-bootstrap-modal

Created on 13 Nov 2017  路  6Comments  路  Source: angular/components

Bug, feature request, or proposal:

What is the expected behavior?

Panel menu of select control should appear on the front.

What is the current behavior?

Panel menu of select control on ng2-bootstrap-modal appears behind the modal dialog.

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.

Plunker starter (using on @master): https://goo.gl/uDmqyY

StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV

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

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

Angular material 5.0.0-rc0.

Is there anything else we should know?

On the regular page it works great.

Most helpful comment

Thank you,
Right now made this:

.cdk-global-overlay-wrapper, .cdk-overlay-container {
  z-index: 99999 !important;
}

And it works great. Sorry for rush. However, I notice that select menu is "jumping" up and down (according to the selected element) when selecting the element. What should I override if I want to change this behavior?
Thank you

All 6 comments

You may need to override bootstrap's modal or the overlay container's z-index. In general, conflicting styles as a result of using Material with other UI frameworks are not considered bugs within this lib.

Thank you,
Right now made this:

.cdk-global-overlay-wrapper, .cdk-overlay-container {
  z-index: 99999 !important;
}

And it works great. Sorry for rush. However, I notice that select menu is "jumping" up and down (according to the selected element) when selecting the element. What should I override if I want to change this behavior?
Thank you

I'm not sure what you mean by jumping. If you're talking about where it positions itself when open, that behavior is strictly following the Material spec and is not customizable.

Closing since we don't really have control over interactions with other libraries. Feel free to open a new issue (following the issue template) for other bug reports.

@mariannafld lovely. I too just wanted some material design elements but not the whole 9 yards.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

constantinlucian picture constantinlucian  路  3Comments

alanpurple picture alanpurple  路  3Comments

crutchcorn picture crutchcorn  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

shlomiassaf picture shlomiassaf  路  3Comments