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
Touch Events #37
Comments
So, I was able to attach a touch event to an component by wrapping it in touchablehighlight, however, what I need to do is to split up a larger SVG into sections and have each section be tappable. Is this possible? |
Could we get a discussion on this about HOW we might do this? I'd love to help figure out touch if we had an approach and maybe an MVP idea... Like maybe simple onPress events from the JS side which are supported on the backend bridged component around one shape type?! Thoughts??? |
It For example
The |
I think I did it on iOS. |
Wow!!! Thank you, and let us know if you need any help. This could be a On Sat, May 14, 2016 at 3:50 AM, Horcrux notifications@github.com wrote:
Sean Hise |
OMG, throw some ideas at someone and watch them run! Even if my idea was just a “hey how could we”, I never expected this. iOS is the first step, so I’m totally blown away. Very nice work Horcrux! On May 14, 2016 at 4:35:55 AM, srhise (notifications@github.com) wrote: Wow!!! Thank you, and let us know if you need any help. This could be a On Sat, May 14, 2016 at 3:50 AM, Horcrux notifications@github.com wrote:
Sean Hise |
The gesture responder system added in a new branch named
I |
I think this is great! And makes it a killer library. Keep on keeping on! 👍 💯 |
I don't know if this is possible, but the touch events I am trying to hook On Sun, May 15, 2016 at 8:36 AM, Cale Hoopes notifications@github.com
Sean Hise |
Can`t find a way to dispatch touch events to ReactShadowNode on Android. |
I |
Wow, you did it!! I'll play around with it a bit as I think it would be good for us to update the docs with an example. |
The doc is out of date for ages. |
Does that mean I can use gesture fully to get items touch events for this library? |
Thanks I read through this but none the wiser on how to detect touch events on svg shapes - do I understand it correctly that react native gives you coordinates, but there's still no easy way to detect what shape those coordinates are on? |
Is it possible for an SVG to have shapes bound to touch events? I have an svg of a vehicle and I want to be able to tap sections of it to highlight certain areas.
The text was updated successfully, but these errors were encountered: