a2ui-project / a2ui-project/a2ui
Make sure catalog items do not trigger overflow error.
- Ngôn ngữ chính
- TypeScript
- Star
- 16.4k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 134
Mô tả
_↴ Ported from [flutter/genui#747](https://github.com/flutter/genui/issues/747) — originally opened by [polina-c](https://github.com/polina-c) on 2026-02-21._
_Original labels: P2, front-line-handled, a: api-simplicity_
---
Catalog items should detect allowed space.
If it is unlimited, take minimal
If it is limited and too small, add scroll
If it is limited and too large, either expand or take right alignment from context
Hướng dẫn đóng góp
Hướng nghiên cứu
Look for catalog item components in the codebase, likely under a 'catalog' or 'ui' directory. Examine how space detection and overflow handling are currently implemented. The fix involves checking available space, adjusting sizing, and adding scroll or alignment based on context. Test by rendering catalog items in constrained containers to verify the new behavior matches the described logic.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100