Dialog: ScrollView Inside Does Not Scroll on Android
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react-native, typescript
- 領域
- mobile
調査の方向性
まず、React Native 0.77.3 と React Native UI Lib 8.3.2 を使用して、Android 上で提供された Dialog と ScrollView のスニペットを再現し、その後 iOS で同じケースを比較します。Dialog コンポーネントの Android での動作を追跡し、fix が完了したときにその内部のコンテンツをスクロールできることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Description
On Android, the Dialog component doesn’t scroll when it contains a ScrollView inside.
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
Steps to reproduce the behavior:
- Inside the Dialog, place a ScrollView.
Expected behavior
I expected it to scroll same behaviour as in iOS able to scroll
https://github.com/user-attachments/assets/b73c57ec-2850-43c7-aed2-ec1fa7c1e6b5
Actual behavior
Unable to scroll inside the dialog
More Info
Code snippet
<Dialog
visible={showDialog}
width="90%"
height="50%"
center
onDismiss={() => this.setState({ showDialog: false })}
>
<View style={[globalStyle.popOutMainContainer, { flex: 1 }]}>
<View style={[globalStyle.popOutHeader, globalStyle.titleBar]}>
<View style={{ width: "90%" }}>
<Text style={[globalStyle.LargeBody, globalStyle.TopBarTitleColor]}>
Filter {this.state.filterName.substring(0, this.state.filterName.lastIndexOf(':'))} by:
</Text>
</View>
<TouchableOpacity style={{ width: "10%" }} onPress={() => { this.setState({ showDialog3: false }) }}>
<Icon2
name={"close"}
size={24}
color={"#FFFFFF"}
/>
</TouchableOpacity>
</View>
<ScrollView
style={{ flex: 1 }}
contentContainerStyle={[globalStyle.popOutBody, { flexGrow: 1 }]}>
{/* Sample scrollable item */}
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
</ScrollView>
</View>
</Dialog>
Screenshots/Video
https://github.com/user-attachments/assets/a5c86a79-3be8-4f8a-96f6-78d28ed0b278
Environment
- React Native version: 0.77.3
- React Native UI Lib version: 8.3.2
Affected platforms
- Android
- iOS
- Web
- 主要言語
- TypeScript
- スター
- 7.2k
- フォーク
- 749
- 平均マージ
- 29分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wix/react-native-ui-lib のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wix/react-native-ui-lib#4022 ·
メンテナーはふだん 1 日以内に返信
-
SortableGridList does not forward props to its inner ScrollView (inconsistent with SortableList)対応中かも @yinminqian が 172 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wix/react-native-ui-lib#4002 ·
メンテナーはふだん 1 日以内に返信
-
RN 0.85.0 StyleSheet.absoluteFillObject is removed対応中かも @ChrisJamesC が 79 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wix/react-native-ui-lib#3965 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
asBaseComponent: stale module-level colorScheme prevents re-render on scheme switch back対応中かも @huytdps13400 が 33 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
wix/react-native-ui-lib#3945 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
wix/react-native-ui-lib#4044 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
wix/react-native-ui-lib の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
"Claude Code request is missing its initial user message" when the prompt starts with an image pathオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
earendil-works/pi-claude-code#31 ·
メンテナーはふだん 8 日以内に返信
-
bug pending triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
privatenumber/cleye#48 ·
-
Google text documents are base64-encoded twice対応中かも @feiiiiii5 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信