Comments (5)
Hi @ajoykarmakar459. Could you find answers to your questions? In swiper I also have button and sometimes that button pressing does not work...
from react-native-swipe-up-down.
ok @ajoykarmakar459, I guess I could find which code blocks my touchable sometimes. So in index.js
component there is onMoveShouldSetPanResponder
, which is set true
as default. But when dx
and dy
are not 0
, then it should be false
const {dx, dy} = gestureState;
if (dx!==0 && dy!==0 && dy/dx!==Math.abs(0) && dy/dx!==-1) { return true }else{ return false }
Hope this will fix your problem too
from react-native-swipe-up-down.
@DavitVosk it worked well when i added your condition except on Samsung Note 8 and when I inspected it always return true. plz help
from react-native-swipe-up-down.
@MRSEREY I had stopped with that feature including into my app yet... I had not checked it on Samsung Note 8. What I can propose to log dx
and dy
to understand what other condition you should add in my code so that it works as needed
from react-native-swipe-up-down.
Let's check the latest version!
https://github.com/react-native-vietnam/react-native-swipe-up-down/releases/tag/v1.1.3
from react-native-swipe-up-down.
Related Issues (20)
- @DavitVosk it worked well when i added your condition except on Samsung Note 8 and when I inspected it always return true. plz help HOT 1
- ScrollView into SwipeUpDown HOT 5
- How to close the this component? HOT 4
- Change swipe icon color HOT 4
- Move Up Move Down HOT 1
- TextInput inside the SwipeUpDown doesn't get focus HOT 3
- alignment issue on itemMini HOT 1
- Button inside itemFull can't be touched HOT 4
- 'showMini' function wasn't available HOT 2
- How to limit the height when its shows itemfull? HOT 4
- Default behaviour of the swipe up down component
- would like to request for typescript HOT 1
- Unexpected token, expected ";" (18: 5) HOT 1
- TouchableOpacity in itemFull props has no response HOT 3
- Prop ref does not exist in this component HOT 2
- ScrollView is not work HOT 5
- Unable to resolve dependency tree HOT 2
- color backdrop
- Not working in landscape device orientation
- Slide down lags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-swipe-up-down.