david-mulder / paper-date-picker Goto Github PK
View Code? Open in Web Editor NEWA date picker à la Material Design
License: GNU General Public License v3.0
A date picker à la Material Design
License: GNU General Public License v3.0
I find out that the problem is the lack of support of the Internationalization API in WebKit
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Browser_compatibility
that will cause an exception that prevent the whole page to load correctly
is there any workaround for this? or at least prevent the exception so that the rest of the page keep working
thank you
From other Repo angular/material#648
In terms of UX for your picker, I'll point out that if I wanted to set a date to 15th July 2030, I'd have to do an excess amount of scrolling in your implementation.
Care to explain what you mean? Just not sure what you mean, but you might have stumbled on a bug.
I've attach an image from Firefox - Chrome and Safari on OS X don't work.
How would I find January 2020 without scrolling through about 60 months? Even going three or four months in the future or past is tedious.
When you pick a date the UI selects the previous day. Is this a feature?
https://github.com/David-Mulder/paper-date-picker/blob/master/paper-date-picker.html#L335
Sometimes this line executes before the window is fully opened. Then monthElements[i].clientHeight
is 0, so the scroll bar stays top and won't scroll to "today"
Date selection on calendar (at demo page http://david-mulder.github.io/polymer-docs/bower_components/paper-date-picker/demo.htm) selects the previous date/cell of the date/cell you click.
It would be great if the date selection would fire an event to react on.
if I add this to . html
<paper-date-picker-dialog id="#startPicker" value="2000/1/1">
</paper-date-picker-dialog>
what should I do to get selected date? I try
$('#startPicker').attr( "value" );
but it only return the initial date set (2000/1/1). If I pick new date, it still 2000/1/1.
I know It must be a way to get this value (since no one complaint about it) but I just don't know how, I try to look at .fire but it only fire "selection-changed". It will be grateful if you could show me a way.
This way this awesome custom element will show up on http://customelements.io/ automagically
Hello,
I open the date picker dialog from within another dialog window.
If the date picker dialog is closed by clicking any button, the core-overlay-backdrop
still stays there and the complete site is blocked.
bower is loading polymer master, but the last commit is too far in the past for
this to support polymer 1.0
Any chance this will get an upgrade soon?
Can I suggest an improvement on the scrolling of the component?
It would look nicer if any scrolling or swiping on the calendar showed only a month at a time or adding buttons to go back to the previous month and to go to the next month.
I found a css framework for React based on the Material Design and there is a datepicker included and hope you can consider implementing such improvement on your component: http://callemall.github.io/material-ui/#/components/date-picker
Thank you.
I got Uncaught TypeError: prototype.registerCallback is not a function error on demo page.
Work-around: http://stackoverflow.com/questions/30431606/prototype-registercallback-is-not-a-function-in-polymer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.