Hi,
I have a text that is scrollable because very long. How can I put a Tap Gesture on it? If I do it, it is currently ignored because it is recognized as selecting text.
Thanks.
Hi,
I have a text that is scrollable because very long. How can I put a Tap Gesture on it? If I do it, it is currently ignored because it is recognized as selecting text.
Thanks.
Hi @ingurgite what are you trying to achieve?
I have a screen that displays an article's content to read. And I want to experience to be double taping to come back to the previous screen. I could also do it by swiping up but same thing, if I swipe up it obviously scroll since the screen's whole area is taking by a scrollable text.
Let me know if it is clearer.
Hi @ingurgite, the TapGesture added to a TextView works fine in iOS devices and in Apple's iOS Simulators. There is a bug preventing tap on a TextView in our Creo Simulato in some cases, we are working to fix this issue with our simulator.
@ingurgite we fixed the issue in our built-in simulator, please try this new beta https://media.creolabs.com/release/beta/creo_build18349.zip
@ingurgite,
the Tap gesture can not be recognized if an internal gesture recognizer of the native TextView control is recognized before (for example, the tap gesture that put the TextView in the editing state).
To change this behavior, you can add the code `return true;` in the `ShouldRecognizeSimultaneously(otherGesture: UIGestureRecognizer)` event of your TapGesture; in this way, your gesture can be recognized simultaneously with other gesture recognizers.
Thanks @andrea.
Coming back to you @andrea, it works on a real device, but not in the simulator. In the simulator, it does not select the text either. Is that normal?
Hi, coming back to you on this. An answer would be appreciated. Thanks.