-
-
Notifications
You must be signed in to change notification settings - Fork 765
Closed
Labels
PR WelcomeWelcome to Pull RequestWelcome to Pull RequestdocsDocumentation only changesDocumentation only changesgood first issueGood for newcomersGood for newcomerslowThis issue has a low priorityThis issue has a low priorityv7
Milestone
Description
I am new to react-day-picker, sorry, if this is the wrong place to report. Could not find any other place.
On http://react-day-picker.js.org/examples/input-from-to there is:
handleFromChange(from) {
// Change the from date and focus the "to" input field
this.setState({ from });
}The and focus the "to" input field comment imho makes no sense here. There's no focus being set here.
The next function does something like setting the from's month (but still not focus):
handleToChange(to) {
this.setState({ to }, this.showFromMonth);
}This confused me. (And I could not find the source for it to try to improve.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PR WelcomeWelcome to Pull RequestWelcome to Pull RequestdocsDocumentation only changesDocumentation only changesgood first issueGood for newcomersGood for newcomerslowThis issue has a low priorityThis issue has a low priorityv7