react / react/react-native

RefreshControl is flickering

Aperta
#54,610 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: RefreshControl Needs: Triage :mag: Type: New Architecture
Lingua principale
C++
Stelle
127k
Fork
25.3k
Merge medio
1g 23h
PR unite (30g)
4

Descrizione

Description

When I perform a pull-to-refresh, the screen gives a slight flicker. This happens both in the ScrollView and in the FlatList. It started happening after the upgrade to version 0.81.5 (new architecture). In version 0.77.3 (with the new architecture disabled) this didn’t happen.

Steps to reproduce
  1. Install the dependencies with yarn install
  2. Run the application
  3. Open the screen that contains the ScrollView / FlatList with RefreshControl
  4. Perform a pull-to-refresh gesture
  5. Notice that the screen gives a slight flicker during the refresh
React Native Version

0.81.5

Affected Platforms

Build - MacOS

Areas

Fabric - The New Renderer

Output of npx @react-native-community/cli info
System:
  OS: macOS 26.0.1
  CPU: (8) arm64 Apple M2
  Memory: 132.77 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 24.10.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 11.6.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2025.10.20.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.27812.49.2514.14217341
  Xcode:
    version: 26.0.1/17A400
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.17
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.5
    wanted: 0.81.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true
Stacktrace or Logs
no logs
MANDATORY Reproducer

https://snack.expo.dev/@andreyfbernardoni/honest-yellow-salsa

Screenshots and Videos

https://github.com/user-attachments/assets/73e9da3f-d05c-4802-97b4-97a1a7090af1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con lo Snack reproducer collegato e riproduci lo sfarfallio di pull-to-refresh sia in ScrollView sia in FlatList su React Native 0.81.5 con new architecture abilitata. Confronta il comportamento con la versione 0.77.3 e verifica che lo sfarfallio sia scomparso sulla configurazione macOS interessata; nel report non sono identificati log o file sorgente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react-native
Ambito
mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.