-
Notifications
You must be signed in to change notification settings - Fork 536
Position problem in scrollable modal #121
Comments
Please scroll the modal container instead of the modal body... |
I'm afraid I didn't understand what you mean. Could you please give an example? |
.modal {
overflow: auto;
}
.modal-body {
overflow: visible;
} |
Hi, fengyuan Thanks for your reply. I've tried your proposal, unfortunately, it doesn't work either. |
I know what you mean now. |
My temp solution is changing the library code so you can have a container without it being inline. You only need to change 2 lines. I did it in the minified version because i was too lazy to switch.
and
Don't forget to put "position: relative" on your container. |
Welcome |
tried but still am facing the issue. Can u plz elaborate |
Is this issue resolved. What change we have to made it. Is that change to be add in datetimepicker.js or css. Please tell us where to include and what to include. |
You may try this /* Check positioning to remain on screen. */
|
Any updates on this? |
i m getting same issue on scroll position not changed |
is this issue resolved can you please tell me the changes |
When datepicker is placed in a scrollable modal, it doesn't scroll along with other contents. For example, in examples/datepicker-in-modal.html, we set line 30-34 as below:
then, scroll the modal, we can get:
It would be better if datepicker scrolls together with the input box.
The text was updated successfully, but these errors were encountered: