Comments (5)
@raindev32 Let's try the latest version and see how it works in README
https://github.com/react-native-vietnam/react-native-swipe-up-down/releases/tag/v1.1.4
from react-native-swipe-up-down.
@minhchienwikipedia Hey dude, going through the code.
Close function is bit buggy, I think. I was not able to remove the full screen.
I followed your instruction and went through the example:
itemMini={(show) => (
<View
style={{
alignItems: "center",
flex: 1,
backgroundColor: "green",
}}
>
<Text onPress={show}>This is the mini view, swipe up!</Text>
</View>
)}
After button smashing the button could be trigger and full view will be closed. However, that is no ideal. You don't want to press 20 times to get 1 click. I don't have mini view and only have full View on my setup. My guess is that there seem to be conflict on onPress function.
Appreciate the hard work dude!!
from react-native-swipe-up-down.
Code*
itemFull={(close) => {
return (
<View
style={{
flex: 1,
justifyContent: "center",
backgroundColor: "red",
}}
>
<Text onPress={close} style={styles.instructions}>
Swipe down to close
</Text>
</View>
);
}}
from react-native-swipe-up-down.
@bm181354 sorry, I can't get it, can you send me your full code or a video of the issue you're getting?
from react-native-swipe-up-down.
@minhchienwikipedia https://snack.expo.dev/@biken/modal-popover
iPhone 7 with IOS 14.7.1 seems to have a problem.
However, it works in iphone Xs (Bigger iphones).
from react-native-swipe-up-down.
Related Issues (20)
- 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.