diff --git a/src/components/KeyboardAwareScrollView/index.tsx b/src/components/KeyboardAwareScrollView/index.tsx index 1d484a35c2..0bf3d1b97c 100644 --- a/src/components/KeyboardAwareScrollView/index.tsx +++ b/src/components/KeyboardAwareScrollView/index.tsx @@ -462,6 +462,11 @@ const KeyboardAwareScrollView = forwardRef< onEnd: (e) => { "worklet"; + // if the user has set disableScrollOnKeyboardHide, only auto-scroll when the keyboard opens + if (!disableScrollOnKeyboardHide || keyboardWillAppear.value) { + maybeScroll(e.height); + } + removeGhostPadding(e.height); keyboardHeight.value = e.height;