3 ms·
I couldn't make the date picker work at all - the scroller kept snapping back to a previous position.
by marssaxman 3y ago
I couldn't make the date picker work at all - the scroller kept snapping back to a previous position.
- dave7 3y agoGlad I'm not the only one!
- petemilly 3y agoAh, sorry about that. It is the native date picker as n8cpdx pointed out. I just pushed an update to only update the grid of weeks once the date picker is unfocused (onblur event) rather than recomputing unnecessarily on every change event. I suspect that is what caused the bug you're describing, but let me know if it's still broken.
- marssaxman 3y agoYes, that fixed it. Thanks! (I didn't know the browser had a native date picker.)
- petemilly 3y agoGreat! Thanks for following up. And yep, the browser date picker (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...) is a major time saver. This project uses the native color picker, too.