uxsolutions / bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)
Apache License 2.0
12.66k stars 6.07k forks source link

Strange datepicker behaviour with bootstrap modal on Firefox #1282

Open monsieur-ricky opened 9 years ago

monsieur-ricky commented 9 years ago

Hi,

I'm using bootstrap-datepicker on a project and when the datetime picker shows on a modal it has a very strange behaviour, all the dates get swapped: modal

This only happens when in a modal and on Firefox, in every other scenario or browser its working normally.

What can be the problem?

hebbet commented 9 years ago

what version of datepicker to you use? what version of bootstrap?

monsieur-ricky commented 9 years ago

I'm using Datepicker v1.4.0, Bootstrap 3.2.0 and jQuery 1.11.2.

hebbet commented 9 years ago

ok can you provide a link to an example? i tried to reproduce in one of my projects, but the datepicker works in the modal as it should.

monsieur-ricky commented 9 years ago

here's a temporary link you can test: http://tuttipromo.blacklambs.net/Test.aspx Updated the temporary test link with a more clean version.

engrmostafijur commented 9 years ago

Great

monsieur-ricky commented 9 years ago

Just found out that this issue only happens in Firefox. On Chrome and IE it works normally. Possible bug?

hebbet commented 9 years ago

@ricky2k7 will look at it later today.

monsieur-ricky commented 9 years ago

@hebbet to fully verify this issue you need to scroll down the modal before you select the date field. If you don't scroll the modal, the date picker works :-/