christopherdro / christopherdro/react-native-calendar
[FeatureRequest] Move to corresponding month automatically when selectedDate has changed
- Dominant language
- JavaScript
- Stars
- 536
- Forks
- 233
- PR merge metrics
- No merged PRs in 30d
Description
@christopherdro ,
Can you please release this feature soon in next version.
As you know when we set the selectedDate, the month view does not change accordingly.
I've tried to use the currentMonth prop to do that but it just turn into another problem.
When both currentMonth was set, if I change selectedDate into another month, the month view does not change at all, it just show the month with the value in currentMonth.
If we do a work arround to reset currentMonth when selectedDate is set then it will work but I don't want to do that as there will be more code to maintain.
Moving to corresponding month automatically when selectedDate changed will be the useful feature in this case.
Please think about adding this feature as soon as you can.
I think the community will also need this.
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names the selectedDate and currentMonth props but does not identify a file or test. Trace where those props control the month view, then reproduce changing selectedDate across months with and without currentMonth. Done means the view moves to the selected date's month without requiring callers to reset currentMonth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100