angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.34k stars 6.74k forks source link

angular2 material datepicker can't open when used with in angular2-bootstrap modal #7736

Closed NSHAG closed 7 years ago

NSHAG commented 7 years ago

Bug, feature request, or proposal:

What is the expected behavior?

upon clicking the button, the datepicker should open in the modal dialog itself

What is the current behavior?

upon clicking the button, the datepicker wouldn't open in the modal dialog itself but opens in the background

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/DlHd6U
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?

Is there anything else we should know?

willshowell commented 7 years ago

This has been a common issue with bootstrap modals, and it's as easy as checking your z-index's. Should be easy to override with a global style.

crisbeto commented 7 years ago

In general, Material components are meant to work with other Material components. We don't test whether they interop with component libraries.

angular-automatic-lock-bot[bot] commented 5 years ago

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.