kekeh / angular-mydatepicker

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

angular-mydatepicker doesnot popup properly when there are multiple forms #98

Closed hemanth281 closed 2 years ago

hemanth281 commented 2 years ago

Hi @kekeh When there are multiple forms in the screen, like one form after the other( shown in Issue1 image) and if there is calendar in one of the forms and when we click on the calendar button, the angular-mydatepicker calendar pops out but occupies all over the form and you can only see the calendar but not complete calendar and makes disappears all the content/labels in the form.

I don't see an option to force the mydatepicker to pop out. I reviewed documentation and could not find.

With ngx-mydatepicker this was never an issue, it always pop out from the form.

Code:

kekeh commented 2 years ago

You can try to set option appendSelectorToBody to true. Can you use console of the browser to check that is there any global styles causing the issue.

Difficult to say anything without seeing code. If you have extra time can you create demo here https://stackblitz.com/ about the issue.

hemanth281 commented 2 years ago

Thank you very much @kekeh. It resolved the issue.