Replies: 3 comments 7 replies
-
@gpbl re: the point "Allow switch to other date libraries", have you considered allowing it to work with the I hope at least that if you consider implementing the ability to work with many date libraries, you consider making the API work with different date objects (other than the [Now Legacy] |
Beta Was this translation helpful? Give feedback.
-
@gpbl I have been using the library somewhat extensively at work and could help out with some things in the future. Would love to play with the new |
Beta Was this translation helpful? Give feedback.
-
The first release candidate of DayPicker 9 has been released: http://react-day-picker.js.org/next Looking for testers 👀Please help testing this version and report any bug. Share your experience when upgrading existing DayPicker to this new version. To help with the upgrade from v8 to v9, we provide an upgrading guide that likely need to be updated before the final release. I'd love to know your experience while upgrading. Final Changelog
|
Beta Was this translation helpful? Give feedback.
-
v9 will improve accessibility, internationalization, performance and typings. For each of these areas, there are breaking changes that requires to bump the major version.
Others may use this thread to discuss each of those. This post will be updated.
Accessibility
DayPicker renders an
HTMLTable
that causes extra complications for accessibility:We need to change the rendered HTML to adopt the latest accessibility standard about date pickers.
table
and usediv
elements only (use ARIA-attributes and CSSdisplay
).Internationalization
To fix this, we would probably make DayPicker able to switch date library, which is a feature we dream since #1087.
Performance
This will probably require to refactor some internals and the hooks.
Typings
Others
ref
with focus method: #1735In consideration
Beta Was this translation helpful? Give feedback.
All reactions