datepickk icon indicating copy to clipboard operation
datepickk copied to clipboard

Datepicker Not Displayed Properly

Open dhimasyoga opened this issue 8 years ago • 7 comments

I don't know what's wrong, but the datepickk displayed like this :

image

Here are what I've done :

  • I separated the "custom configuration" of datepickk in separated file named "custom-datepicker.js", and I've write it with the right path
  • I've included the datepickk.min.js and datepick.min.css
  • I'm going to place the datepicker inside a div with id calendarContainer, and this is my code : var datepicker = new Datepickk({ container: document.querySelector('#calendarContainer'), inline: true, range: true });
  • I'm not making any changes in the datepickk.min.css and the datepickk.min.js file

I don't know what's wrong, but the date items seems like block-displayed. I need your help asap. Thanks in advance :)

dhimasyoga avatar Feb 27 '18 10:02 dhimasyoga

Hi, Do you have some other stylesheets that are changing the datepickk styles?

crsten avatar Feb 27 '18 12:02 crsten

I'm not sure, i don't make my own style for the sidebar list items, i mean i'm not giving a display property to it

dhimasyoga avatar Feb 28 '18 00:02 dhimasyoga

Could you try to inspect it and check if any other stylesheets are changing the default styling?

crsten avatar Mar 01 '18 15:03 crsten

I've inspect it and i found that .d-tables { display: table!important; } make the date items seem like 'block-displayed'. Then i try to make my custom css style to change .d-tables display property to display: inline, but nothing changes, the datepickk items still look like 'block-displayed'

dhimasyoga avatar Mar 02 '18 01:03 dhimasyoga

Getting same problem, looks like it is not compatible with Bootstrap 4. Not tried Bootstrap 3

DisobedientMedia avatar Apr 12 '18 16:04 DisobedientMedia

+1, it's not compatible with Twitter Bootstrap 4. because it uses .d-* classes as utility ones. For more information: https://getbootstrap.com/docs/4.0/utilities/display/

ashep avatar Aug 19 '18 10:08 ashep

#37 contains renamed classes to avoid intersection with Bootstrap's class names.

ashep avatar Aug 19 '18 10:08 ashep