Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker is displayed behind Modal if datepicker container is set to body #3133

Closed
llRandom opened this issue Apr 20, 2019 · 1 comment · Fixed by #3158
Closed

DatePicker is displayed behind Modal if datepicker container is set to body #3133

llRandom opened this issue Apr 20, 2019 · 1 comment · Fixed by #3158

Comments

@llRandom
Copy link

Bug description:

NgbDatePicker is displayed behind NgbModal if datepicker container is set to body

Link to minimally-working StackBlitz that reproduces the issue:

https://stackblitz.com/edit/angular-d5kbff

Versions of Angular, ng-bootstrap and Bootstrap:

Angular: 7.3.8

ng-bootstrap: 4.1.1

Bootstrap: 4.3.1

@maxokorokov
Copy link
Member

@llRandom, bootstrap's modal has a z-index of 1050 by default (could be changed with theming)

We don't set any z-index values currently on the datepicker, but we should.
I guess it should be either the same as modal (1050), or as a tooltip (1070)

Related to #2686 and #2947

cc @fbasso

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants