Unable to use with SectionList
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react-native
- 領域
- mobile
調査の方向性
props.start(false, refSectionList.current) を使用して react-native SectionList の失敗を再現します。エラーに示されている scrollView.scrollTo の呼び出しから始め、SectionList の ref がどのように渡されているかを確認します。呼び出しで TypeError が発生しなくなり、スクロールが機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
When used with react-native SectionList and called with ref to enable scrolling like:
props.start(false, refSectionList.current); - getting a TypeError as below;
TypeError: scrollView.scrollTo is not a function. (In 'scrollView.scrollTo({
y: yOffsett,
animated: false
})', 'scrollView.scrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0
React-Native SectionList Inherits ScrollView Props since it's a wrapper around , and thus inherits its props (as well as those of ), so I believe this should work? @mohebifar
- 主要言語
- TypeScript
- スター
- 2.4k
- フォーク
- 425
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mohebifar/react-native-copilot のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
mohebifar/react-native-copilot#354 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
mohebifar/react-native-copilot#351 · コメント 1 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
mohebifar/react-native-copilot#349 · コメント 11 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
mohebifar/react-native-copilot#348 · コメント 2 件 ·
mohebifar/react-native-copilot の issue をすべて見る
似ている issue
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
ag-ui-protocol/ag-ui#3504 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Dokploy/dokploy#6151 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#161712 ·
メンテナーはふだん 1 日以内に返信
-
bug p3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rothgar/rabble.radio#283 ·
メンテナーはふだん 1 日以内に返信
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nightly-labs/openbot#19805 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信