MDBDatePicker appear behind Modal


Topic: MDBDatePicker appear behind Modal

Mike.Thomson asked 5 years ago

Expected behavior Date Picker should appear in foreground of Modal Window

Actual behavior DatePicker appears behind Modal Window (Whenever Datapicker is used in modal). From another post I tried adding disableFocusTrap={true} to the props of my parent MDBModal however this doesn't seem to do anything.

Resources (screenshots, code snippets etc.)


Jakub Chmura staff premium answered 5 years ago

Hi @Mike.Thomson,

Can you show me a sample of your code? I've already tested this component and it works fine for me.

Best, Kuba


Hi, I found the problem. It was in a an app wide css file I had created many months ago which set a z-index value. I removed this class and works as expected.


Jakub Chmura staff premium answered 5 years ago

Hi @Mike.Thomson,

Nice to hear that you solved your problem,

If there is anything else I could do for you do not hesitate to ask me. I'll be happy to help you.  

Best Regards, Kuba


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No