We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to limit the draggable components to be dragged in the above part of the screen only
<Gestures rotatable={false} draggable={{ y: height/2, }} scalable={{ min: 0.1, max: 7, }}/>
The text was updated successfully, but these errors were encountered:
Check out my fork. still updating it, but it has a callback for onOutOfBounds and props for containerStyle etc.
Sorry, something went wrong.
I solved the issue temporary as follow, please share if you have a better solution or any suggestion
<Gestures onChange={(event) => event.touchHistory.touchBank[Platform.OS == 'ios' ? 1 : 0].currentPageY >= 300 ? this.setState({ Y: false }) : this.setState({ Y: true })} draggable={{ y: this.state.Y, x: true}}> <Text>Test</Text> </Gestures>
No branches or pull requests
I want to limit the draggable components to be dragged in the above part of the screen only
The text was updated successfully, but these errors were encountered: