react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

Feat on press year

Open rknell opened this issue 7 years ago • 10 comments

Kept command in line with text order for the arrows ie onPressX instead of onXPress

This is useful so I can implement a new component to select the month / year by clicking on it, similar to the workflow of other calendars.

rknell avatar May 10 '18 23:05 rknell

This will be very helpful for implementing the following:

30317918-395f9a32-97c9-11e7-9025-3fe408f95d77

Except that in order to implement this, the month prop needs to be passed to the onPressYear handler like this:

<TouchableOpacity disabled={!this.props.onPressYear} onPress={() => this.props.onPressYear(this.props.month)}>

So the selected year could be set and passed back to calendar with the current prop.

@tautvilas Could it be added to pull request? When is it going to be merged?

naomipol avatar Aug 12 '18 07:08 naomipol

@tautvilas any new here?

naomipol avatar Oct 03 '18 05:10 naomipol

Any progress on merging this? I could really use this feature!

dquessenberry avatar Dec 13 '19 01:12 dquessenberry

Yes, this would be a great addition.

naushad-madakiya avatar Dec 18 '19 06:12 naushad-madakiya

@Inbal-Tish hello! any updates on this?

ames89 avatar Apr 27 '20 04:04 ames89

Is it merged?

SohelKabir avatar Oct 25 '20 12:10 SohelKabir

Oh my gosh, 2 years later and this extremely useful Pull Request has not been accepted yet 😱. That means I'll need to improvisate even using a library 😳, that's really doesn't make sense to me. What's the reason for that late?

Fred-Reis avatar Aug 20 '21 11:08 Fred-Reis

Guys, I'm waiting for a response to my comments from the PR's writer. Please don't be rude. You are welcome to submit your own PR for this feature if you want to speed its release.

Inbal-Tish avatar Aug 22 '21 11:08 Inbal-Tish

really disappointing, why this PR is not getting accepted :(

Aashir1 avatar Feb 19 '22 11:02 Aashir1

New PR: https://github.com/wix/react-native-calendars/pull/1798

Altimar21 avatar Feb 21 '22 04:02 Altimar21