react-native-bottom-sheet icon indicating copy to clipboard operation
react-native-bottom-sheet copied to clipboard

[v4] | [v2] BottomSheetFooter with BottomSheetTextInput does not handle keyboard animation

Open jamesdunay opened this issue 3 years ago • 3 comments

Bug

When the keyboard is opened the BottomSheetFooter, which contains a BottomSheetTextInput, moves to the correct position, but it does not animate to that position. Instead it instantly teleports there making the animation somewhat jarring. Does anyone know of a fix for this? I've tried a couple things, but not really had any successes.

Environment info

"@gorhom/bottom-sheet": "^4.4.3", "react-native": "0.69.4", "react-native-reanimated": "^2.4.1", "react-native-gesture-handler": "^1.10.3",

Steps To Reproduce

Pretty simple really. BottomSheet + footer + text input. Focusing the text input should show the skipping animation.

jamesdunay avatar Sep 07 '22 22:09 jamesdunay

@jamesdunay: hello! :wave:

This issue is being automatically closed because it does not follow the issue template.

github-actions[bot] avatar Sep 07 '22 22:09 github-actions[bot]

I confirm this is happening also on a Google Pixel 3XL and 4A device

gabimoncha avatar Sep 08 '22 12:09 gabimoncha

I'm not sure if I've come across the issue elsewhere with my dealings KeyboardAvoidingView + listening to the changes of Keyboard.listeners.

What seems like is happening is that the new position is (obviously correct), but it's being instantly applied as the new screen is rendered.

jamesdunay avatar Sep 08 '22 21:09 jamesdunay

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 09 '22 09:10 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 14 '22 09:10 github-actions[bot]

Has anyone found any workaround?

iraybi avatar Jul 14 '23 22:07 iraybi

Any news on this?

Wenceslauu avatar Mar 01 '24 14:03 Wenceslauu

Guys, I am also facing the same issue, any solution?

dhaval97shah avatar May 13 '24 15:05 dhaval97shah

also facing this, has anyone found a fix?

77zv avatar Jun 15 '24 22:06 77zv