Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reset visibleDays/currentMonth state when enableOutsideDays or numberOfMonths has changed #702

Merged
merged 2 commits into from
Sep 6, 2017

Conversation

majapw
Copy link
Collaborator

@majapw majapw commented Sep 6, 2017

Address #700

Basically, the state in the DayPickerRangeController would previously be recomputed for a change in enableOutsideDays or numberOfMonths if and only the component had become focused. This change makes it so that they are always recomputed.

cc: @ArtyomResh @ljharb @gabergg @airbnb/webinfra

@ljharb ljharb added the semver-patch: fixes/refactors/etc Anything that's not major or minor. label Sep 6, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 86.5% when pulling 0ef7c79 on maja-address-issue-700 into d0996af on master.

@majapw majapw merged commit 2d56f39 into master Sep 6, 2017
@majapw majapw deleted the maja-address-issue-700 branch September 6, 2017 23:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
semver-patch: fixes/refactors/etc Anything that's not major or minor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants