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

Swipe more naturally

Open acro5piano opened this issue 4 years ago • 23 comments

Currently swipe action is just pan responder, which moves very unnaturally.

acro5piano avatar Jul 06 '20 14:07 acro5piano

I think ScrollView for both horizontal and vertical is enough.

Using https://github.com/cesardeazevedo/react-native-nested-scroll-view

acro5piano avatar Feb 10 '21 13:02 acro5piano

Should be done with Animated We don't want to fetch all events to display only a few.

sebastienfi avatar Mar 23 '21 17:03 sebastienfi

@sebastienfi I'm thinking which library is better. Do you have any recommendation? Animated is a way to go because it is a standard lib, but do you have any experience with react-native-reanimated?

https://github.com/software-mansion/react-native-reanimated

We don't want to fetch all events to display only a few.

Yeah, apps should fetch data current week +- 1 week or so.

acro5piano avatar Mar 24 '21 02:03 acro5piano

My idea is to rely on this lib:

https://github.com/leecade/react-native-swiper

acro5piano avatar May 09 '21 11:05 acro5piano

react-native-swiper does not support the web!

acro5piano avatar May 10 '21 08:05 acro5piano

React Native tabview does have web support https://github.com/satya164/react-native-tab-view

An alternative is FlatList

nandorojo avatar Sep 17 '21 21:09 nandorojo

@nandorojo Thank you for the information. That should be useful for us too.

acro5piano avatar Sep 24 '21 05:09 acro5piano

https://github.com/callstack/react-native-pager-view

acro5piano avatar Oct 26 '21 02:10 acro5piano

Hi guys do you intend to implement this? Google calndar has this animation and its real cool for the user... Anything I could do to help?

joaobsantos avatar Mar 31 '22 18:03 joaobsantos

@joaobsantos Thanks for your interesting. I'm recently terribly busy and not working for this feature.

acro5piano avatar Apr 04 '22 09:04 acro5piano

@joaobsantos Thanks for your interesting. I'm recently terribly busy and not working for this feature.

Ok, when I have a little time I'll try to do this and create a pull request, thx...

Great work :)

joaobsantos avatar Apr 10 '22 12:04 joaobsantos

@joaobsantos Thanks!!

acro5piano avatar Apr 10 '22 14:04 acro5piano

I've attempted it for the month view using https://github.com/computerjazz/react-native-infinite-pager What do you think?

https://user-images.githubusercontent.com/5366008/180193591-89ee81d5-cf71-46be-85ca-b4d60adc39a5.mp4

CptMaumau avatar Jul 21 '22 10:07 CptMaumau

@CptMaumau That's truly awesome! If you create a PR, I'm happy to merge it. Thanks!

acro5piano avatar Jul 21 '22 15:07 acro5piano

@acro5piano I still have to do some testing to do but I will asap!

CptMaumau avatar Jul 22 '22 01:07 CptMaumau

@CptMaumau thank you so much, @CptMaumau sorry it's been complicated in work, never got to this :(

joaobsantos avatar Jul 22 '22 13:07 joaobsantos

what is the result here? Still no smooth swipes?

tegozen avatar Feb 13 '23 06:02 tegozen

Still not implemented.

@CptMaumau Can you share your implementation for those who want to implement it? Your demo video looks so promising.

acro5piano avatar Feb 13 '23 13:02 acro5piano

Hello @CptMaumau , would love to see your implementation

apperside avatar Mar 06 '23 13:03 apperside

Hi all, any progress on this?

voulgarakis avatar Nov 07 '23 11:11 voulgarakis

Any updates? Or can you at least provide the code you used in the video @CptMaumau

Robert27 avatar Dec 06 '23 17:12 Robert27