Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Pan offset #33

Open
LightningK0ala opened this issue Apr 28, 2017 · 2 comments
Open

Pan offset #33

LightningK0ala opened this issue Apr 28, 2017 · 2 comments

Comments

@LightningK0ala
Copy link

It seems that in most native apps using a drawer, they have the ability to pull the drawer open even when the pan gesture begins in the middle of the screen. The RN solution and this one don't seem to support this kind of behaviour. Am I mistaken about this? Are there any plans to implement such feature?

@DanielMSchmidt
Copy link
Collaborator

Hey, good catch. Part of the decision why this library doesn't mimic the behavior of DrawerLayoutAndroid anymore is to be capable of extending it in this direction. I am not sure which value it is one would need to modify, either moveX or dx. Either way, it should be possible to make the threshold configurable via props.

Would you like to give it a try?

@LightningK0ala
Copy link
Author

Ok, I'll find some time to look at this. Would be a great addition. Thanks for pointing me in the right direction!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants