-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Going back by swiping. Make the area to start swiping bigger. #50
Comments
I'm pretty sure this is an iOS specific property, and defined by the On Sun, Feb 14, 2016 at 9:06 PM JV Lobo notifications@github.com wrote:
|
So do you think it is not possible to change it? In Twitter, for example, you can swipe from a bigger area. Thanks. |
@jvlobo seems that sceneconfig can be used to configure gestures, wanna take a look into this? |
Thanks for your answer @SEthX I've been looking for some info in React Native doc but it seems like it doesn't provide so much information about SceneConfigs Do you know how to set properties on that? Thanks! |
You should be able to configure the SceneConfigs directly onto the Navigator, we may need to set some defaults |
Yeah, if you change the |
Thanks for your help guys. Should I change the variable directly in NavigatorSceneConfigs.js or could I set it in my code? Thanks. |
Set it in your code as a scene config... On Tue, Feb 16, 2016 at 9:59 PM JV Lobo notifications@github.com wrote:
|
Thank for your help guys. I've configured a Scene config as it sets here: https://rnplay.org/apps/HPy6UA The thing is that in the example, they use a component. Because I'm using React Native Simple Router I set the configureScene in my component:
I don't know if I'm doing something wrong, but it seems like it doesn't work. Thanks for the help. |
I have the same issue with the swipe area. I was wondering how can I have my router configured such that it'll have the default iOS start swipe area width. I'm really new to to RN and mobile development and I would really appreciate if you could guide me step-by-step or show me some code. |
After some troubleshooting i found out how to configure the swipe area width.
and passed it as a prop to the router |
Hey @lucaboieru Have you passed it like this:
I set the |
@jvlobo that's how i passed the new config. You can try setting the |
Yes, I set something like 200 or 300 to test it, but it seems like it doesn't work! :/ This is my code: http://puu.sh/neY0J/16af6f15f2.png |
Ok, It was wrong!! Solved. Thank you so much :) |
Hi there!
I'm gonna try to explain it with an image.
Now, when I want to go back in my app with react-native-simple-router by swiping, the area where I have to start swiping is really small (light blue in the image). What I'd like to do is to make this area bigger (light blue + dark blue in the image) to be able to start swiping easily.
I don't know if it is possible.
Thanks!
The text was updated successfully, but these errors were encountered: