Open nicolaosm opened 2 weeks ago
Hey @nicolaosm
Thank you for bringing that issue π
I think a similar problem was reported in https://github.com/kirillzyusko/react-native-keyboard-controller/issues/512
Do you expect the cursor to be visible when you set a focus, right? Because the second issue is more about incorrect position during typing π€
Hi @kirillzyusko,
Yes youβre right. In my recorded video there are two issues showing:
Iβm not sure if this issue is actually related to #512 It seems to me to be a different issue.
Thanks @kirillzyusko
@nicolaosm cool, thank you for clarification!
It may be different problems, but in the end all of them will be fixed by utilizing onSelectionChange
event (instead of relying on layout of text input).
I'll try to fix it - all native code is in place, I just need to re-work JS part, so it shouldn't be a big challenge π
Thats amazing @kirillzyusko! Thank you for your quick and proactive approach. π€©
getting same issue as well, waiting for fix @kirillzyusko Thanks π
Describe the bug When using a large multi-line text input field, the view does not automatically scroll to the cursor when it is placed somewhere within the text. This issue occurs particularly when the text field is large in height.
Code snippet This issue can be reproduced with any basic text input field that has a height of 900 units or more.
To Reproduce Steps to reproduce the behavior:
Expected behavior The view should automatically scroll to make the cursor visible whenever it is placed within the text.
Screenshots A video demonstrating the issue:: https://cln.sh/HLlnFNpZ
Smartphone (please complete the following information):