Double-tap scroll to top
chandlervdw opened this issue · 1 comments
chandlervdw commented
I'm willing to submit a PR for this but I want to make sure the approach I take makes sense.
React-native has an onAccessibilityTap method which lets you define what to do on a double-tap. There's also a hand-rolled check (that I'm less-inclined to use).
This library is used in react-native-router-flux and so I'm not sure if it makes sense to create a PR here or there.
Essentially, I'd use onAccessibilityTap
to fire off scrollTo() on the subview that the tab displays.
AFMW commented
Is it possible to use this feature now?