문제

I am using the gem Bootstrap3-datetimepicker-rails (found here: https://github.com/TrevorS/bootstrap3-datetimepicker-rails), along with Bootstrap 3 on rails 3.2.

I happened to have my datetime field at the very bottom of a page. When I click on the calendar icon, part of the calendar widget shows, the rest is clipped and scrolling down the page is needed (the page's vertical scrollbar shows). However, to grab the page vertical scroll bar, the calendar is hidden since it lost its focus.

Any suggestions on how I may resolve this?

Thank you.

도움이 되었습니까?

해결책

I ended up adding margin-bottom to the last div in my page, so that there is always some space to accommodate the calendar when it unfolds. I think that's the easiest way to get around this for now.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top