react-calendar icon indicating copy to clipboard operation
react-calendar copied to clipboard

When selecting a range across two months, ending the selection should not return to previous month

Open nunocasteleira opened this issue 2 years ago • 1 comments

Before you start - checklist

  • [X] I have checked if this feature request is not already reported

Description

As written in the title, when I'm selecting across two months (29/April through 9/May), after I selected the last date, the calendar returns to the starting date. Can we let the calendar stay in the month where the last selection was done?

Proposed solution

No response

Alternatives

No response

Additional information

No response

nunocasteleira avatar Apr 29 '22 13:04 nunocasteleira

@nunocasteleira I have the same issue. Have you solved it?

Hammad-CT avatar Jul 20 '22 17:07 Hammad-CT

@nunocasteleira same issue, if you found a solution please drop a comment below

swee76 avatar Oct 13 '22 02:10 swee76

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] avatar Jan 16 '23 01:01 github-actions[bot]

Please look into this issue, if it can be solved!

rajdeepdatta2898 avatar Jan 26 '23 14:01 rajdeepdatta2898

The feature is already available via the goToRangeStartOnSelect prop. It is true by default, you just have to set it to false.

tizba avatar Feb 03 '23 10:02 tizba

the feature (mentioned by @tizba ) seems to be not working. It doesn't make a difference what is the setting of goToRangeStartOnSelect - the selection of ending date always switches to the range start.

lemontini avatar Mar 02 '23 07:03 lemontini

goToRangeStartOnSelect has no effect

alexbu92 avatar Mar 10 '23 16:03 alexbu92

Are there any workarounds for this? @wojtekmaj is this on the roadmap by any chance?

alexbu92 avatar Apr 20 '23 16:04 alexbu92

@alexbu92

goToRangeStartOnSelect has no effect

Could you provide a github repo where it does not work ? If I have a little bit of time I could check it and make a pull request

tizba avatar Apr 20 '23 16:04 tizba

goToRangeStartOnSelect has no effect

add both :- goToRangeStartOnSelect = {false} defaultActiveStartDate = {End date}

mishabak avatar Jun 01 '23 10:06 mishabak

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] avatar Sep 04 '23 01:09 github-actions[bot]

This issue was closed because it has been stalled for 14 days with no activity.

github-actions[bot] avatar Sep 18 '23 01:09 github-actions[bot]