React-native: [0.58] Inverted FlatList fast scrolling still doesn't work properly on Android P

Created on 25 Jan 2019  路  11Comments  路  Source: facebook/react-native

Environment


React Native Environment Info:
System:

  • OS: macOS High Sierra 10.13.6
  • CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
  • Memory: 27.94 MB / 8.00 GB
  • Shell: 3.2.57 - /bin/bash

Binaries:

  • Node: 8.11.2 - /usr/local/bin/node
  • Yarn: 1.10.0 - /usr/local/bin/yarn
  • npm: 5.6.0 - /usr/local/bin/npm
  • Watchman: 4.9.0 - /usr/local/bin/watchman

Android SDK:

  • API Levels: 28
  • Build Tools: 28.0.3

IDEs:

  • Android Studio: 3.1 AI-173.4720617

npmPackages:

  • react: 16.6.3 => 16.6.3
  • react-native: 0.58.0 => 0.58.0

Test Device - Xiaomi Pocofone F1 - Android Pie - 9
screen shot 2019-01-25 at 5 37 54 pm

Description


Fast scrolling will scroll back to where you start scrolling

Related to: #19434
The issue has been closed and locked but looks like the issue still exist even in 0.58 commit b971c5b

Reproducible Demo

  1. react-native init InvertScrollTest
  2. edit App.js
    screen shot 2019-01-25 at 5 42 20 pm

or similar from #19434
With Android P public beta installed -
https://snack.expo.io/BklXgV8Nk7

Expected Behavior

Smooth scrolling
Fast scrolling up will not scroll down
Fast scrolling down will not scroll up

Actual Behavior

Tested Device - Xiaomi Pocofone F1

Slow scroll up from INDEX - 0 then Fast scroll up
fast scroll up

Slow scroll down from INDEX - 19 then Fast scroll down
fast scroll down

Bug FlatList Android Locked

Most helpful comment

Same issue in the new 0.59.1 version :(

All 11 comments

i'm having the same issue .

+1

Please fix this issue, same here using Virtualized List. Please Please help for this issue.

Hey everyone, we are working on a new 0.58.2 which should have the fix - for some reason the commit was 'removed' from the 0.58 branch, we are now readding it. The new patch version should be out soon.

馃憢 0.58.3 is out, can you let me know if this still happens?

0.58.3 is out, can you let me know if this still happens?

Thank you very much. 馃槏 I will provide feedback once I tested it using the said device. Probably tomorrow. It's already late evening here. 馃槈

@kelset
It now works properly with RN 0.58.3
Test Device - Xiaomi Pocofone F1 - Android 9

Fast scroll up
fast scroll up fixed

Fast scroll down
fast scroll down fixed

Same issue in the new 0.59.1 version :(

I'm using version 0.59.1 with Android P and the issue is still there. The fling is not working as expected.

Same issue in the new 0.59.9 version

i'm wondering if my situation not suitable for upgrade RN version, how can i fix this by my own?

Was this page helpful?
0 / 5 - 0 ratings