-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Release Event #33
Comments
Hi @MainzerKaiser, thanks for creating the issues, and sorry for the long delay in answering! This seems like a great addition! While this still hasn't been implemented, you can achieve almost the same behavior by using the touch events in the <View style={{ flex: 1 }} {...events}>
<Canvas
onTouchStart={() => { /* */ }}
onTouchMove={() => { /* */ }}
onTouchEnd={() => { /* */ }}
onTouchEndCapture={() => { /* */ }}
onTouchCancel={() => { /* */ }}
>
<OrbitControls /* ... */>
{/* ... */}
</Canvas>
</View> |
Hi Tiago, |
Are there plans to introduce more methods to the OrbitControl than the onChange Event?
I would like to trigger a function upon release of the touch event.
Wrapping the canvas with the orbitControl inside a view, a pressable or a TouchableWithoutFeedback and use its release event didnt work so far.
The text was updated successfully, but these errors were encountered: