Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

RefreshControl is flickering

未关闭
#54,610 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
react-native
领域
mobile

调研方向

从链接的 Snack reproducer 开始,在启用 new architecture 的 React Native 0.81.5 上,分别在 ScrollView 和 FlatList 中复现 pull-to-refresh 闪烁问题。将其行为与 0.77.3 版本进行比较,并验证在受影响的 macOS 设置上闪烁已消失;报告中未指明任何日志或源文件。

由索引模型根据 Issue 内容生成。

描述

Component: RefreshControl Needs: Triage :mag: Type: New Architecture
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

主要语言
C++
星标
127k
派生
25.3k
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

react/react-native 的其他 Issue

查看 react/react-native 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。