Open damon1412 opened 7 years ago
Did you defined a new container ? https://bootstrap-datepicker.readthedocs.io/en/stable/options.html#container
I defined a container but it’s not work, as you see as below:
Before I rolling down:
After I rolling down:
在 2017年3月17日,下午4:18,Alan Aasmaa notifications@github.com 写道:
Did you defined a new container ? https://bootstrap-datepicker.readthedocs.io/en/stable/options.html#container https://bootstrap-datepicker.readthedocs.io/en/stable/options.html#container — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uxsolutions/bootstrap-datepicker/issues/2144#issuecomment-287293765, or mute the thread https://github.com/notifications/unsubscribe-auth/AFhnyB_Q9rMb3wYKVOAGYIxcusaXFoWoks5rmkHkgaJpZM4MbI4F.
I met the same question and I solved it by 1. Set the the container to dialog 2. Set the dialog's "position: relative" and "overflow: scroll or auto"
Expected behaviour
i use bootstrap3 modal-dialog, and datepicker in the dialog, when i scroll down then call the dialog, the datepicker position is worng, it should also scroll down
Actual behaviour
Tell us what happens instead.
Datepicker version used
ex. 1.6.1.
Example code
Jsfiddle example to reproduce the problem.