fooloomanzoo / datetime-picker

A minimal picker for date and time for Polymer, that can use the native input
MIT License
78 stars 18 forks source link

Datetime picker doesn't work and displays CSS (2.8.5) #45

Closed Fleker closed 6 years ago

Fleker commented 6 years ago

After #41 I updated to 2.8.2 and ~2.8.2 (which resolves to 2.8.5). In both cases, I am seeing some really odd behavior. With my same setup (copying the demo code and replacing with my local code) I am still unable to get it to render like in your demos. The picker doesn't show a calendar anymore, only the time with some weird line breaks (also, the time picker does work but doesn't show in the input). Plus I'm seeing a lot of CSS just on the page.

image

image

<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="import" href="bower_components/datetime-picker/datetime-picker.html">
fooloomanzoo commented 6 years ago

It should be fixed with the new version 2.8.7. Please consider the new way of styling.