AOSSIE-Org / AOSSIE-Org/Resonate

Category responsive + but scrollable

オープン
#796 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
344
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

### 🐛 Describe the bug

The CategoryScreen has two main UI issues affecting usability and responsiveness:
🔴 1. ListView is not scrollable (Critical)

The ListView.builder is configured with:

NeverScrollableScrollPhysics()
shrinkWrap: true
primary: true

This combination disables user scrolling and prevents the list from behaving as a proper scrollable widget.

Impact:
Users cannot scroll through stories when the list is long
Breaks expected app behavior
Causes poor user experience
🟠 2. Empty state layout is not responsive (Major)

The empty-state UI uses a fixed bottom padding:

EdgeInsets.only(bottom: 150.0)

This hard-coded value does not adapt to different screen sizes.

Impact:
UI appears misaligned on smaller or larger devices
Poor responsiveness across devices
Not following Flutter layout best practices
Expected Behavior
The stories list should scroll normally when content exceeds screen height
The empty state should be vertically centered and responsive on all screen sizes
Current Behavior
List does not scroll
Empty state positioning is inconsistent depending on device size
Suggested Fix
Remove NeverScrollableScrollPhysics, shrinkWrap, and primary from ListView
Replace fixed bottom padding with a responsive layout using Center, SafeArea, or flexible widgets
Environment
Flutter (mobile)
Affects CategoryScreen

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。