Files
hipmi-mobile/components
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
..
2025-12-19 17:54:49 +08:00
2025-08-25 17:59:07 +08:00
2025-12-05 11:46:36 +08:00
2025-08-01 11:35:39 +08:00
2025-10-21 16:52:17 +08:00
2026-03-13 16:41:34 +08:00
2025-07-04 15:36:09 +08:00
2025-07-10 15:03:52 +08:00
2025-08-07 15:44:22 +08:00
2025-07-10 16:47:02 +08:00
2025-10-21 16:52:17 +08:00
2026-02-04 12:00:00 +08:00
2025-08-06 17:35:30 +08:00
2026-02-12 17:35:28 +08:00
2025-11-19 17:40:35 +08:00
API
2025-09-10 16:33:39 +08:00
2026-03-02 16:34:24 +08:00
2026-01-23 14:45:44 +08:00
2026-03-03 16:44:45 +08:00
2025-07-29 17:22:11 +08:00
2025-07-15 12:01:28 +08:00
2025-07-22 14:56:29 +08:00
2025-12-09 17:36:36 +08:00
2025-07-09 17:22:43 +08:00
2025-10-21 16:52:17 +08:00
2025-12-01 17:43:20 +08:00
2025-12-01 17:43:20 +08:00