react-swipeable-views
react-swipeable-views copied to clipboard
A React component for swipeable views. :snowflake:
I could't understand the code `this.vx = this.vx * 0.5 + (touch.pageX - this.lastX) * 0.5;` on https://github.com/oliviertassinari/react-swipeable-views/blob/master/packages/react-swipeable-views/src/SwipeableViews.js#L452. And is `(lastY - firstY) / (endTime - startTime)` to caculate speed...
Hello community my mistake is simple, when using the `onChangeIndex` prop and calling the callback it doesn't work. attached code ```Javascript const handleStepChange = (step) => { setActive(step); console.log('hello world')...
Hello, I just started using this recently and I'm using it directly with AutoPlay. Would it be possible to add an OnHover or OnClicked callback, as currently whenever someone hovers...
- [x] I have searched the [issues](https://github.com/oliviertassinari/react-swipeable-views/issues) of this repository and believe that this is not a duplicate. hello, i use react-swipeable-views with typescript and i`ll try to pass object...
- [x] I have searched the [issues](https://github.com/oliviertassinari/react-swipeable-views/issues) of this repository and believe that this is not a duplicate. ## Expected Behavior Question: is it possible (or would it be possible...
hi, I’ve an issue with the onChangeIndex method, sometimes when an user is swiping too fast, the index received is incremented by two or three instead of one by one,...
hi @oliviertassinari , why dont you put the `pagination.js` and `paginationdot.js` to a new package? swipeable-view may need pagination dot. for example, [react-native-snap-carousel](https://github.com/archriss/react-native-snap-carousel/blob/master/src/pagination) have its pagination.
I believe there is no link between this code and the recent issues. And it's a valuable improvement. Replays the following PRs from the old master: - #536 - #537...
- [x] I have searched the [issues](https://github.com/oliviertassinari/react-swipeable-views/issues) of this repository and believe that this is not a duplicate. ## Expected Behavior After a user press on the second tab, then...
- [x] I have searched the [issues](https://github.com/oliviertassinari/react-swipeable-views/issues) of this repository and believe that this is not a duplicate. `Axis=y` broken with `line-height: 1.15` and `font-family: sans-serif`. ## Expected Behavior Scroll...