`ScrollView` prop `autoScroll: detectEnd` race condition
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
The issue points to the documentation’s Auto Scrolling section and the ScrollView autoScroll: detectEnd behavior; no source file or test is named. Start by finding that example and tracing the isScrolledAtEnd and isAutoScrollInProgress condition mentioned in the linked comment. Reproduce by adding text rapidly until auto scroll stops, then confirm the behavior remains reliable.
索引モデルが issue の本文から書いたものです。
説明
Originally reported in https://github.com/react-ui-org/react-ui/issues/501
Steps to reproduce:
- in the documentation go to the Auto Scrolling section
- select the option when end is detected
- click on the Add text button to the point where the element scrolls
- start clicking on Add text button as fast as you can several times
- after a while, auto scroll stops working
https://github.com/user-attachments/assets/346aef66-0d7f-4173-bba7-173a3469c7e4
Relevant comment: https://github.com/react-ui-org/react-ui/issues/501#issuecomment-3018784601
I think the issue lies in a race condition in the else if (!isScrolledAtEnd || isAutoScrollInProgress) condition, but I couldn't think of a satisfactory fix.
- 主要言語
- TypeScript
- スター
- 23
- フォーク
- 10
- 平均マージ
- 5日 12時間
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-ui-org/react-ui のほかの issue
-
maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
react-ui-org/react-ui#784 ·
メンテナーはふだん 1 日以内に返信
-
accessibility bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
react-ui-org/react-ui#775 ·
メンテナーはふだん 1 日以内に返信
-
maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
react-ui-org/react-ui#753 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug maintenance
難易度 4/5 1〜2日 初心者へのやさしさ 25/100
react-ui-org/react-ui#782 ·
メンテナーはふだん 1 日以内に返信
-
Supported versionsオープンmaintenance
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
react-ui-org/react-ui#780 ·
メンテナーはふだん 1 日以内に返信
react-ui-org/react-ui の issue をすべて見る
似ている issue
-
apps/stage-web bug env/os-linux pending triage scope/audio-output
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anomalyco/opencode#61640 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
scope: data grid status: waiting for maintainer
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
ai-driven-fuzzing bug Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-fuzzing bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
linagora/twake-calendar-frontend#1944 ·
メンテナーはふだん 1 日以内に返信