Is the tooltip in the example "stocks-gesture.mp4" from the read-me possible to achieve? More specifically, to show the y-value on tooltip while dragging?
No matter what I do, i just get the initial onPress value, and then the onPressRelease value when releasing.
I have read ticket #176 and tried using Skia text elements, without luck. I also saw ticket #158, but that did not help me either.
I figure that it has to to with useSharedValue running on another thread. But how was it done in the example?
I managed to update the text value of a TextInput field, using useAnimatedReaction together with setNativeProps. But it feels like a hack.. And is unstable, sometimes make the iOS emulator to crash.
Hello!
Great library, but one thing is bugging me.
Is the tooltip in the example "stocks-gesture.mp4" from the read-me possible to achieve? More specifically, to show the y-value on tooltip while dragging?
No matter what I do, i just get the initial onPress value, and then the onPressRelease value when releasing.
I have read ticket #176 and tried using Skia text elements, without luck. I also saw ticket #158, but that did not help me either.
I figure that it has to to with useSharedValue running on another thread. But how was it done in the example?
I am using:
I managed to update the text value of a TextInput field, using useAnimatedReaction together with setNativeProps. But it feels like a hack.. And is unstable, sometimes make the iOS emulator to crash.
Am I missing something? Thanks in advance!