Skip to content

v1.0.0-alpha.11 — Places polish + keyboard-controller

Choose a tag to compare

@NateIsern NateIsern released this 12 Apr 17:13
· 99 commits to main since this release

Places map polish + keyboard-controller

Map

  • Sheet snap-to-top bumped to 100% so the sheet slides behind the notch when fully expanded (Google Maps UX).
  • Dynamic animated top padding on the list header keeps rows below the floating search pill as the sheet expands.
  • Search pill uses `bg-surface` (distinct from the sheet background) and swaps its drop shadow for a hairline border when the sheet is fully expanded.
  • Fixed FlashList flex layout so the list scrolls properly inside the sheet.
  • Magnetic sheet snapping (via existing gorhom snap points) — flicks past the mid snap pull straight to the top.
  • Detail mode uses a slightly larger 62% mid snap so the hero image, facts, and action row all fit without scrolling.

Keyboard

  • Wire `KeyboardProvider` from `react-native-keyboard-controller` at the root layout. Fixes Android focus loss on the search `TextInput` when the bottom sheet auto-snaps. The `requestAnimationFrame` workaround is gone.

Test plan

  • Tap search, verify sheet snaps to top AND keyboard opens AND TextInput keeps focus
  • Drag sheet from mid to top, verify smooth transition and search pill stays visible
  • Verify list scrolls at mid and top snap
  • Verify filter chips and 'Near you' are visible at both snaps
  • Tap a place, verify camera centers it above the sheet
  • Verify sheet slides behind the notch at top snap

🤖 Generated with Claude Code