Questions tagged [react-swipeable-views]

25 questions
1
vote
1 answer

How to resolve NPM dependency problem with shadow-cljs using react-swipeable-views?

I have a ClojureScript project using shadow-cljs. In this project I am using the NPM package @material-ui, which works fine. Now I would like to use react-swipeable-views. Therefor I have extended my package.json: "dependencies": { …
Witek
  • 6,160
  • 7
  • 43
  • 63
0
votes
0 answers

React Native Swipeable - How to shrink content instead of pushing content out of the view when swiping

I am using React Native Swipeable component from React Native Gesture Handler. https://docs.swmansion.com/react-native-gesture-handler/docs/api/components/swipeable/ The original behaviour: When user swipe element right, it pushes content out of the…
0
votes
1 answer

React Native Swipeable - How to prevent auto closing after executing onSwipeableOpen

I am using React Native Swipeable for "swipe to select" functionality in the mobile app I am working on. I have a list of invoices. Each invoice is swipeable. When user swipe right, it displays selected checkbox in the left menu and invoice number…
0
votes
1 answer

Using react-hook-from with react-swipeable-views

i'm trying to use react-hook-form with react-swipeable-views , but the state of the form resisted every time i switch between swipeable views, if anyone could help me i will be very thankful. lien of stackblitz:…
0
votes
0 answers

Can't get "react-swipeable-views" to swipe

I'm using react-swipeable-views along with MUI to create a tabs component, however no matter what I do I can't get it to actually swipe. I followed the docs and it seems like it should. The relevant code is below, no errors in the console, the…
0
votes
0 answers

React-native: prevent Swipeable component swipe to outside the screen

I have a screen that show chat messages, and I make the item chat able to swipe to reply like FB Messenger. I'm using Swipeable component from react-native-gesture-handler. But I have a troble: whenever I swipe fastly, the item will swipe to outside…
0
votes
0 answers

Swipeable component in react native doesn't swipe right on swippng right

I am new to React-Native, using the swipeable componet to render the new "View" for delete purpose. after swiping right it does not work. It gives WARN, which below I have mentioned. import React from 'react'; import { View, Text, …
0
votes
2 answers

use react routers and react-swipeable -views to change url on tab change

I have a react component, that uses material-ui tabs and react-swipeable-views. The problem I am experiencing is that, when switching tabs, the url displayed does not change, I noticed that is the react-swipeable-views logic. I would like to apply…
Derrick Omanwa
  • 457
  • 1
  • 5
  • 23
0
votes
1 answer

FlatList or ScrollView don't work when children are wrapped with Swipeable

I have a FlatList, and each item inside the FlatList is wrapped with Swipeable from react-native-gesture-handler/Swipeable. It appears as if Swipeable cancels the gestures, and doesn't allow the FlatList to scroll if my finger is on a Swipeable…
0
votes
2 answers

react swipe card failed to compile

Im working on a project where im creating swipe card effect and im getting failed to compile when running npm run start:dev on the app import React from 'react'; import Cards, { Card } from 'react-swipe-card' const data = ['Alexandre',…
user10398929
1
2