Topic: MDBDatePicker appear behind Modal
Mike.Thomson
asked a year 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 a year 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
Mike.Thomson
answered a year 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 premium answered a year 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
Closed
This topic is closed.
Closed
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.25.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No