Bootstrap Datepicker appearing at incorrect location in a modal

前端 未结 7 1663
深忆病人
深忆病人 2020-12-29 20:18

I have a button on a page that calls a modal having datepicker.

If this button is at top (I don\'t have to scroll page to click), modal opens and datepicker displays

7条回答
  •  暖寄归人
    2020-12-29 21:05

    Datetimepicker will show in a wrong place if the container of the input is not positioned relative.

    The solution is:

提交回复
热议问题