bagasbanuna
c3cf354c28
feat: Migrate Portfolio & Maps screens + perbaiki bug auto-scroll keyboard
Phase 3 - Portfolio Screens (6 files):
- [id]/index.tsx: ViewWrapper → OS_Wrapper (detail dengan pull-to-refresh)
- [id]/edit.tsx: NewWrapper → OS_Wrapper (form + keyboard handling)
- [id]/edit-logo.tsx: ViewWrapper → OS_Wrapper (upload logo)
- [id]/edit-social-media.tsx: ViewWrapper → OS_Wrapper (form + keyboard handling)
- ViewListPortofolio.tsx: NewWrapper → OS_Wrapper (pagination list)
- ScreenPortofolioCreate.tsx: NewWrapper → OS_Wrapper (form + keyboard handling)
Phase 4 - Maps Screens (2 files):
- ScreenMapsCreate.tsx: NewWrapper → OS_Wrapper (form + keyboard handling)
- ScreenMapsEdit.tsx: ViewWrapper → OS_Wrapper (form + keyboard handling)
Bug Fixes:
- Perbaiki auto-scroll keyboard yang membuat input paling atas 'terlempar' keluar layar
- Gunakan UIManager.measure untuk mendapatkan posisi absolut input (pageY) secara akurat
- Logika conditional scroll:
* Jika input terlihat (di atas keyboard) → TIDAK SCROLL
* Jika input tertutup keyboard → Scroll secukupnya
- Helper cloneChildrenWithFocusHandler sekarang aktif menyuntikan onFocus handler ke semua TextInput/TextArea/PhoneInput/Select
- Hapus KeyboardAvoidingView dari AndroidWrapper static mode (tidak diperlukan lagi)
Pattern yang diterapkan:
- List screens: contentPaddingBottom=100 (default)
- Form screens: contentPaddingBottom={250} + enableKeyboardHandling
- NO PADDING_INLINE (sesuai preferensi user - mencegah box menyempit)
Dokumentasi:
- Update TASK-005 dengan status lengkap Phase 1-4 (27 files migrated)
- Tambahkan urutan phase baru: Event (Phase 5), Voting (Phase 6), Forum (Phase 7), Donation (Phase 8)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-08 17:27:06 +08:00
..
2026-02-13 17:38:48 +08:00
2026-04-08 17:27:06 +08:00
2026-03-27 17:59:13 +08:00
2025-09-22 17:31:40 +08:00
2026-02-11 17:40:08 +08:00
2025-09-16 17:27:58 +08:00
2026-04-07 17:50:15 +08:00
2025-08-06 15:02:47 +08:00
2025-12-09 17:36:36 +08:00
2025-12-10 17:35:15 +08:00
2026-02-18 14:28:15 +08:00
2025-08-12 17:32:07 +08:00
2025-08-13 14:18:30 +08:00
2025-10-14 17:28:40 +08:00
2026-04-07 17:50:15 +08:00
2025-11-28 13:55:48 +08:00
2025-11-28 13:55:48 +08:00
2025-11-28 13:55:48 +08:00
2025-10-08 17:40:36 +08:00
2026-04-02 17:16:19 +08:00
2026-04-02 15:07:10 +08:00
2025-10-30 15:13:33 +08:00
2026-04-08 10:31:36 +08:00
2025-10-03 14:09:31 +08:00
2025-10-16 16:44:43 +08:00
2026-03-03 16:44:45 +08:00
2025-07-22 14:56:29 +08:00
2025-07-23 11:31:58 +08:00
2025-08-08 17:42:44 +08:00
2025-07-03 11:29:51 +08:00
2025-07-08 10:46:45 +08:00
2025-11-26 16:13:05 +08:00