-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(datepicker): add onOpen callback #8705
feat(datepicker): add onOpen callback #8705
Conversation
Deploy Preview for carbon-elements ready! Built with commit a4ce010 |
Deploy Preview for carbon-components-react ready! Built without sensitive environment variables with commit a4ce010 https://deploy-preview-8705--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
@tay1orjones any clue what's going on with the CI checks? |
@andreancardona There's an ongoing incident with GitHub actions. It sounds like it should be coming back up soon |
Closes #8698
This adds an
onOpen
callback prop that exposes flatpickr'sonOpen
to consumers while still calling the internalonHook
.Changelog
New
Changed
Testing / Reviewing
Datepicker should function the exact same as it did before with no regressions. The playground story should show action functions being called on open and close of the datepicker passing along the expected args.