Topic: Date/time picker behind modal window.
Hi, since MDB 3.5.0 release my datepickers are behind my modals.
I change the z-index
for the moment.
Dawid Wajszczuk staff answered 4 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: No
Tags
Related topics
Dawid Wajszczuk staff commented 4 years ago
Hi. Could you please provide more details to your issue? Screenshots and sample code will help a lot. Thanks.
gdw96 commented 4 years ago
I can't make snippets with version 3.5 but I don't see the point of it.
I have a site project with modal windows in which there are forms including datepicker. Everything was working fine, I upgraded from MDB 3.4.0 to 3.5.0 and my datepickers were no longer displayed above (on front) the modal windows but below (behind).
I tried with timepicker and datetimepicker, the problem is the same. In version 3.4.0 it is displayed above and in version 3.5.0 it is displayed below.
To fix this problem while waiting for you to do it officially I have increased the
z-index
from.datepicker-backdrop
;.timepicker-modal
to1094
and.datepicker-modal-container
;.time-picker-wrapper
to1095
. That's all.But, if you really want, I take the time to show you :https://ibb.co/RDfBV2Zhttps://ibb.co/N9TbtwDhttps://ibb.co/Byt6q7Q
If you're pfussy, here's the same thing with MDB vanilla (without any modification): https://ibb.co/KhTVWt4 https://ibb.co/PmsbfVX https://ibb.co/yXFr4S3