Skip to content
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

fix(DatePicker): add override behavior for start date deletion bug #13443

Conversation

francinelucca
Copy link
Collaborator

@francinelucca francinelucca commented Mar 31, 2023

Closes #12980

Changelog

Changed

  • Added conditional to fixEventsPlugin to programatically re-set the start date that is getting deleted on the endDate blur due to the flatpickr bug

Testing / Reviewing

Follow reproduction steps in #12980 and confirm calendar gets updated in PR deployment. Also test DatePicker keyboard and mouse behavior to ensure no regressions

@netlify
Copy link

netlify bot commented Mar 31, 2023

Deploy Preview for carbon-components-react ready!

Name Link
🔨 Latest commit e8cd04b
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/642f491fb1989a00087820ff
😎 Deploy Preview https://deploy-preview-13443--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 31, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit e8cd04b
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/642f491f30ce1b000805a679
😎 Deploy Preview https://deploy-preview-13443--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@alisonjoseph
Copy link
Member

Oooh I was gonna bug you to look at this next week, but you're too fast! 🔥 This works if I type in the date and click off, but if I click a date on the calendar and click off it disappears, or click back in/out if disappears too. wondering if that is also something we could/should fix?

@francinelucca
Copy link
Collaborator Author

https://deploy-preview-13443--carbon-components-react.netlify.app

Ah I see what you mean... I/we can take a look next week!

francinelucca and others added 2 commits April 4, 2023 15:23
…980-bug-date-picker-of-type-range-never-call-onchange-when-second-input-value-change
Co-authored-by: Alison Joseph <alisonjoseph@users.noreply.github.com>
@francinelucca
Copy link
Collaborator Author

Ready for re-rev! @alisonjoseph @andreancardona

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

kodiakhq bot and others added 2 commits April 6, 2023 20:53
@kodiakhq kodiakhq bot merged commit cf0a1e6 into carbon-design-system:main Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Date picker of type range never call onChange when second input value change
3 participants