mdb-date-picker show up when I using a modal


Topic: mdb-date-picker show up when I using a modal

JackZeled0n pro asked 7 years ago

Hi, I am currently using mdbootstrap Angular version and I found this bug. I call a modal with some inputs and appears the mdb-date-picker input on the background.    

Dawid Adach pro commented 7 years ago

Dear jacknic2017 , could you please provide us with some screenshots and sample code to reproduce the issue?

jacknic2017 pro commented 7 years ago

Hi Dawid, Thanks for helping me. I let you know Image1:  https://snag.gy/d8Wa7v.jpg In this image you can see the mdb-datepicker input. Image2:  https://snag.gy/70lsDe.jpg I implement a functionality for opening a modal. But you can see in the background the input. Image3:  https://snag.gy/zjkK7p.jpg You can see the datepicker on background. The code on github: https://github.com/JackZeled0n/MDB-Help/blob/master/MDB-Help/addfactura.component.html

Dawid Adach pro commented 7 years ago

Dear jacknic2017, thank you for detailed input. Could you please let me know if you have tried to adjust Z-index for corresponding components?

jacknic2017 pro commented 7 years ago

Dawid, I did not adjust the Z-index.

Damian Gemza staff commented 7 years ago

Dear jacknic2017, is there a possibility to share me your project on mail? If yes, please remove node_modules directory, zip it and send me via email: d.gemza@mdbootstrap.com. If you can't share me your project, please make a reproduction repository, not only 1 gist. Best Regards, Damian

Damian Gemza staff answered 7 years ago

Dear JackZeled0n, This problem was fixed few releases ago. Please update your MDB Angular to the latest version. Best Regards, Damian

JackZeled0n pro commented 7 years ago

Hi Damian Gemza, Could I have problem if only incorporate the new sass file of datepicker? Because I've changeg some files and components by mdbootstrap angular version and I think the update will restart the files and I will lost the changes, or not? What dou you recommend me? Regards from Nicaragua Jake Zeledón

Damian Gemza staff commented 7 years ago

Dear JackZeled0n, If you did some changes to our scss files, your changes will be overwritten by update to latest version. If you're editing only styles, please overwrite desired classes in your styles.scss stylesheet. It won't change when you update our MDB Angular library. If you did some changes in our .ts files, there's no way to save your changes after updating MDB Angular. So if you need only datepicker new files, download our repo to some directory, copy desired files, and replace it. Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No