Skip to content

Flashlist 2.x, maintainVisibleContentPosition with translate-with-padding will scroll twice when keyboard showing #1110

@debugtheworldbot

Description

@debugtheworldbot
Simulator.Screen.Recording.-.iPhone.16.-.2025-09-08.at.20.30.13.mp4

Seems FlashList with autoscrollToBottomThreshold will try to scroll to bottom when keyboard is showing, So the list will scroll twice.
I'm not sure this is a Flashlist issue or KeyboardAvoidingView issue.

code:

<KeyboardAvoidingView behavior={'translate-with-padding'} style={{ flex: 1 }}>
				<FlashList
                                         ...
					maintainVisibleContentPosition={{
						autoscrollToBottomThreshold: 0.2,
						animateAutoScrollToBottom: true,
						startRenderingFromBottom: true
					}}
				/>
				<ChatBar />							
			</KeyboardAvoidingView>

"newArchEnabled": true,

versions:

	"@shopify/flash-list": "2.0.2",
        "react-native-keyboard-controller": "^1.18.3",
        "react-native": "0.79.5",

Metadata

Metadata

Assignees

Labels

KeyboardAvoidingView 🧪Anything related to KeyboardAvoidingView componentKeyboardChatScrollView 💬Anything about chat functionalityrepro providedIssue contains reproduction repository/code🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions