You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On initial input focus there's some inaccuracy in the scrolling offset, which corrects on second focus attempt, but every time you focus a different input, it's doesn't go all the way as expected. Especially noticeable for multiline inputs.
When there's not enough space at the bottom for scrolling, well, it doesn't scroll when keyboard appears. That means I always need to add at least a keyboard size spacer at the bottom, fixed, since the point of the new scrollview that we don't resize the containers. I thought the new technique is that it adds some special padding internally that let content clip and extend the scrollable limits temporarily, so I don't need to do layout manipulations.
Unrelated to the problem, but in the demo I probably confused the sticky view offset. They just happen to match, so visually it works on my samsung, like (ACTION_BAR_MARGIN * 2 = insets.bottom = 20), but generally safe area insets should not be used there, different math is appropriate, like in the snippet at the bottom from my main project.
Also I haven't noticed extraKeyboardSpace makes any difference.
Discussed in #1390
Originally posted by grego5 March 22, 2026
On initial input focus there's some inaccuracy in the scrolling offset, which corrects on second focus attempt, but every time you focus a different input, it's doesn't go all the way as expected. Especially noticeable for multiline inputs.
When there's not enough space at the bottom for scrolling, well, it doesn't scroll when keyboard appears. That means I always need to add at least a keyboard size spacer at the bottom, fixed, since the point of the new scrollview that we don't resize the containers. I thought the new technique is that it adds some special padding internally that let content clip and extend the scrollable limits temporarily, so I don't need to do layout manipulations.
Screen_Recording_20260322_231637_Keyboard.Controller.Demo.mp4
repo with apk included.
https://github.com/grego5/rnkbctrldemo
Unrelated to the problem, but in the demo I probably confused the sticky view offset. They just happen to match, so visually it works on my samsung, like (ACTION_BAR_MARGIN * 2 = insets.bottom = 20), but generally safe area insets should not be used there, different math is appropriate, like in the snippet at the bottom from my main project.
Also I haven't noticed extraKeyboardSpace makes any difference.
I wanted to upgrade this pattern but seems too early. (The animated view smoothes the layout shift transitions).