Topic: MDBDatePicker appear behind Modal

Mike.Thomson free asked 4 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 answered 4 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


Mike.Thomson free answered 4 years ago


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 answered 4 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


FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: 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