react-native-keyboard-input
react-native-keyboard-input copied to clipboard
ScrollView lags behind when keyboard is opened.
Hey @artald , I can confirm that the scrollview lagging behind issue on keyboard has been introduced keyboard-tracking-view 3.0.10.
We currently unblocked ourselves by explicilty pointing to keyboard-tracking-view 3.0.9.
I will try come up with repro in the example app soon.
Hey, @Thorbenandresen,
If this issue was indeed introduced in keyboard-tracking-view 3.0.10 (which it most likely is if it worked for you properly on 3.0.9), then it must also be the cause for #23.
It's strange because we checked a couple of use-cases and didn't have any problems. Demo project works well and other projects too. We should probably add some more extreme cases to our demos and add some e2e tests.
One of the differences I can think of: on the demo project we have RN44, on the other projects I tested we still use RN38.
Thanks so much for the effort in providing a repro! It's pretty hard to understand how this lag exactly looks like and what scroll behavior is being used, so a repro demo would greatly help to solve these issues. If it's not too much to ask - maybe you can add a short gif just so we can have an idea what to look for until we have a repro.
@artald - thanks, I have updated the initial post with a video illustrating the issue.
@Thorbenandresen that's great, thanks for the video!
What scroll behavior are you using here? Scroll to bottom or fixed offset?
In 3.0.10 we noticed a really small delay (I think only with scroll to bottom, but not sure), the same as you get in iMessages when you open the keyboard for example. We thought it's a small secrafice for the other benefits and all the other cases it did fix. That said, the lag in your video is way more noticeable than what we saw so I hope we have a repro... thanks!