Is there a way to visualize or debug hitSlop for a React Native component?

Viewed 1332

I've got a button in my app that feels very hard to tap. I'm pretty sure the tap-target is far too small, and I'd like to improve that - hitSlop should do the trick, but for whatever reason, it doesn't seem to have an effect!

I see a note in the docs:

The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.

...but I feel pretty confident that this note doesn't apply to my situation. Any ideas?

1 Answers
Related