Skip to content

Android horizontal list incorrect scrolling behavior #2250

@james104

Description

@james104

Description

Android Horizontal list will jump to first item when scrolling to previous item.

Current behavior

screen-20260416-112619-1776309953763.mp4

Expected behavior

Android able to scroll normally

Reproduction

<FlashList
          data={[
            'https://www.w3schools.com/html/pic_trulli.jpg',
            'https://www.w3schools.com/html/img_girl.jpg',
            'https://www.w3schools.com/html/img_chania.jpg',
            'https://www.w3schools.com/w3images/mac.jpg',
            'https://www.w3schools.com/html/workplace.jpg',
            'https://www.w3schools.com/html/frenchfood.jpg',
            'https://www.w3schools.com/html/frenchfood3.jpg',
            'https://www.w3schools.com/html/picture_example.jpg',
          ]}
          renderItem={({item}) => (
            <View style={{width: width, height: 200}}>
              <Image source={{uri: item}} style={{width: width, height: 200}} />
            </View>
          )}
          keyExtractor={item => item}
          horizontal={true}
          pagingEnabled={true}
        />

Platform

  • iOS
  • Android
  • Web (if applicable)

Environment

React Native info output:
System:
  OS: macOS 26.4
  CPU: (10) arm64 Apple M4
  Memory: 107.47 MB / 24.00 GB
  Shell:
    version: 3.2.57
    path: /bin/bash
Binaries:
  Node:
    version: 24.14.1
    path: /Users/user/.nvm/versions/node/v24.14.1/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 11.11.0
    path: /Users/user/.nvm/versions/node/v24.14.1/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/user/.rvm/gems/ruby-3.3.6/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.4
      - iOS 26.4
      - macOS 26.4
      - tvOS 26.4
      - visionOS 26.4
      - watchOS 26.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.3 AI-253.31033.145.2533.15113396
  Xcode:
    version: 26.4/17E192
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.16
    path: /usr/bin/javac
  Ruby:
    version: 3.3.6
    path: /Users/user/.rvm/rubies/ruby-3.3.6/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.1.3
    wanted: ^20.1.1
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.85.1
    wanted: 0.85.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

FlashList version: 2.3.1

Checklist

  • I've searched existing issues and couldn't find a duplicate
  • I've provided a minimal reproduction (Expo Snack preferred)
  • I'm using the latest version of @shopify/flash-list
  • I've included all required information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions