vitalets / x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
http://vitalets.github.io/x-editable
MIT License
6.51k stars 1.73k forks source link

Conflict with bootstrap-datepicker #1066

Open amatthieu opened 6 years ago

amatthieu commented 6 years ago

Hi everyone

I'm using bootstrap-datepicker and I'm using bootstrap-editable in another div and i got bootstrap-editable's css overlapping bootstrap-datepicker's behavior.

The problem is that the datepicker-days should be on display block but bootstrap-editable sets the div's property to none.

Could you help me ?

Example code

https://jsfiddle.net/g0j4uxox/1/

amatthieu commented 6 years ago

I solved this by using JQuery 2.2.4

The problem was that the latest JQuery version doesn't set the div's display's style to block, it just dosn't set any style. That's where your css kicks in and hide it.

This is still a huge problem and you should update your lib.

I'm letting this Issue open to let updaters know this.

devlnt commented 6 years ago

Duplicate of #1033