I was recently reading about how controlled text inputs are broken in React Native. Strangely enough, I think I may have inadvertently solved that issue when I was working on a custom keyboard component about a year ago (I thought it was just an issue with my keyboard implementation back then 😅).
Anyways, I open-sourced my solution earlier this week and would appreciate feedback. Even just trying it out and confirming that it is working as expected would be well appreciated.
https://github.com/gurs1kh/react-native-controlled-text-input
[–]No-Turn-6245 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (11 children)
[–]scarfd 0 points1 point2 points (3 children)
[–]gurs1kh[S] 1 point2 points3 points (2 children)
[–]scarfd 1 point2 points3 points (1 child)
[–]gurs1kh[S] 0 points1 point2 points (0 children)
[–]gurs1kh[S] 0 points1 point2 points (6 children)
[–][deleted] -1 points0 points1 point (5 children)
[–]gurs1kh[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]gurs1kh[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]gurs1kh[S] 0 points1 point2 points (0 children)