kekeh / angular-mydatepicker

Angular datepicker and date range picker :date:
https://kekeh.github.io/angular-mydatepicker/
MIT License
1 stars 11 forks source link

Panel overlay problem #54

Closed nchetbani closed 4 years ago

nchetbani commented 4 years ago

We have a problem with angular material, when we try to use the mydatepicker inside of the panel (AM) and the mydatepicker is on the end of panel, as showin below, we can't see the panel where we open the picker, because the panel of the angular material have a overflow: hidden.

Please, do you have solution for this problem? myDatepicker-pb

kekeh commented 4 years ago

Set option appendSelectorToBody to true.

Let me know if this option is working or not in your case.

nchetbani commented 4 years ago

Thanks for your responsiveness The option is working but with this option the Datepicker panel is displayed on the left corner of the screen (x:0, y:0)

kekeh commented 4 years ago

Ok. Parent element of the input box have to be position: relative style like in this example.

Check that?

nchetbani commented 4 years ago

it don't work

kekeh commented 4 years ago

Can you create demo to the stackblitz or plunker from issue and I will check that?

Another way to solve the issue is override the panel style to overflow: visible.

nchetbani commented 4 years ago

ok, I'll do it Let just check other case and come back to you

nchetbani commented 4 years ago

It work fine now!! I forgot to settled some setup

Many thanks for your help