Repository navigation
長押し設定モーダルの内容をScrollView化して縦幅不足時にスクロール可能にする - #5937
Merged
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughウォークスルーSelectBoundSettingListModal コンポーネントのモーダルコンテンツを ScrollView でラップしました。ScrollView のインポートを追加し、スタイル定義を拡張し、非スクロール可能なコンテナをスクロール対応の ScrollView に置き換えました。既存の UI 要素と機能は変わりません。 変更内容モーダルスクロール機能
🎯 1 (シンプル) | ⏱️ ~5 分
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
長押しで開く設定モーダル(
SelectBoundSettingListModal)はCustomModal側でmaxHeight: '75%'とoverflow: 'hidden'が掛かっており、縦幅の余裕がない端末では下部のボタンが見切れて操作できないおそれがあった。本文をScrollViewでラップして、設定項目が増えても全項目に到達できるようにした。変更の種類
変更内容
src/components/SelectBoundSettingListModal.tsxの本文ラッパーをView(styles.container) からScrollViewに置き換え、scrollView/scrollContentスタイルを追加。keyboardShouldPersistTaps="handled"を指定し、スクロール中のボタン押下が阻害されないようにした。テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
Generated by Claude Code
Summary by CodeRabbit
リリースノート