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): unnecessary onChange removed when closing picker #3943

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

MEsteves22
Copy link
Contributor

@MEsteves22 MEsteves22 commented Jan 8, 2024

Addresses part of #3935:

  • onChange is no longer called when the picker is closed: there's no need to re-apply the changes when closing the picker

@MEsteves22 MEsteves22 requested a review from a team as a code owner January 8, 2024 17:18
@MEsteves22 MEsteves22 requested review from zettca and francisco-guilherme and removed request for a team January 8, 2024 17:18
@github-actions github-actions bot temporarily deployed to uikit/pr-3943 January 8, 2024 17:23 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-3943 January 8, 2024 17:24 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-3943 January 8, 2024 17:24 Destroyed
@github-actions github-actions bot temporarily deployed to uikit/pr-3943 January 8, 2024 17:33 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-3943 January 8, 2024 17:34 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-3943 January 8, 2024 17:35 Destroyed
Copy link
Member

@zettca zettca left a comment

Choose a reason for hiding this comment

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

Can we had a small toHaveBeenCalled() test validating this?

@MEsteves22
Copy link
Contributor Author

Can we had a small toHaveBeenCalled() test validating this?

Yes, I'll add one

@github-actions github-actions bot temporarily deployed to uikit/pr-3943 January 10, 2024 09:42 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-3943 January 10, 2024 09:43 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-3943 January 10, 2024 09:43 Destroyed
@MEsteves22
Copy link
Contributor Author

Test added ✅

@github-actions github-actions bot temporarily deployed to uikit/pr-3943 January 10, 2024 10:31 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-3943 January 10, 2024 10:31 Destroyed
@zettca zettca merged commit 77bd8f3 into master Jan 10, 2024
9 checks passed
@zettca zettca deleted the fix/HVUIKIT-6995_date-picker branch January 10, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants