Nerian / bootstrap-datepicker-rails

A Datepicker for Twitter Bootstrap, integrated with Rails assets pipeline
MIT License
648 stars 182 forks source link

Add the zIndexOffset option to configure the dialog "height" #103

Closed laserlemon closed 9 years ago

laserlemon commented 9 years ago

Previously, the height was computed to be 10 higher than the max height of all of the input's parents. In some cases where the date picker needs to move/scroll around with the page, it may collide with other fixed elements. In those cases, a configurable z-index is very helpful in order to keep the datepicker visible.

laserlemon commented 9 years ago

IHNIWID

laserlemon commented 9 years ago

Anything else you'd like to see here? Thanks!

Nerian commented 9 years ago

Hi,

This PR should be made here: https://github.com/eternicode/bootstrap-datepicker

Here we just package the gem :)

Thanks!

laserlemon commented 9 years ago

Thank you. New PR submitted at: https://github.com/eternicode/bootstrap-datepicker/pull/1493