vlad-doru / react-native-calendar-datepicker

React-Native cross-platform, calendar component.
Apache License 2.0
85 stars 37 forks source link

when trying to swipe from month to month it jumps back to current month #1

Closed liesislukas closed 8 years ago

liesislukas commented 8 years ago

from 10 tries only once got a jump from 1 month to next one

with this guesture: image

It just slides and jumps back, you have to slide quite heavily to actually jump to next month.

vlad-doru commented 8 years ago

What platform? I'll look into it ^^

liesislukas commented 8 years ago

i'm testing with ios now, but will need it to work well on Android too, thanks. There could be some "force" option for this

vlad-doru commented 8 years ago

Will take a look asap.

vlad-doru commented 8 years ago

Please post the iOS device and OS you were testing on, as well as the version of React Native.

Thanks

liesislukas commented 8 years ago

I'm getting better at this :-) but still many times it doesn't slide:

https://www.youtube.com/watch?v=TLtrGgLab8M&feature=youtu.be

react-native: "0.34.1", image

vlad-doru commented 8 years ago

I set the threshold as following:

const threshold = _.min([width / 3, 250]);

I will allow setting a custom value for that threshold.