Skip to content

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

Merged
majapw merged 2 commits intomasterfrom
maja-address-issue-700
Sep 6, 2017
Merged

Reset visibleDays/currentMonth state when enableOutsideDays or numberOfMonths has changed#702
majapw merged 2 commits intomasterfrom
maja-address-issue-700

Conversation

@majapw
Copy link
Copy Markdown
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
Copy Markdown

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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