fix(mobile): prevent Android tab ripples from restarting #76

Merged
joshuafhiggins merged 2 commits from t3/fix-android-tab-tap-flash into main 2026-11-06 17:38:39 -05:00
Owner

One Android tab tap could restart the touch ripple multiple times.

Keep the existing colored ripple. Patch react-native-screens to skip unchanged ripple color, active indicator enabled, and active indicator color setters. Material recreates ripple drawables when those setters run, interrupting the current press animation during tab appearance updates.

Verified on the MacBook's existing Pixel_10 emulator with a rebuilt ARM development APK. Recorded Home, Search, and Library taps and inspected the animation frames: the ripple expands and fades once per tap. Mobile TypeScript and diff checks pass. The temporary ARM build required treating the existing react-native-image-colors JVM target mismatch as a warning.

This includes native code, so an app rebuild is required.

Created with gpt-6.1-sol through the Codex harness in T3 Code.

One Android tab tap could restart the touch ripple multiple times. Keep the existing colored ripple. Patch react-native-screens to skip unchanged ripple color, active indicator enabled, and active indicator color setters. Material recreates ripple drawables when those setters run, interrupting the current press animation during tab appearance updates. Verified on the MacBook's existing Pixel_10 emulator with a rebuilt ARM development APK. Recorded Home, Search, and Library taps and inspected the animation frames: the ripple expands and fades once per tap. Mobile TypeScript and diff checks pass. The temporary ARM build required treating the existing react-native-image-colors JVM target mismatch as a warning. This includes native code, so an app rebuild is required. Created with gpt-6.1-sol through the Codex harness in T3 Code.
joshuafhiggins added 1 commit 2026-11-05 17:17:30 -05:00
joshuafhiggins added 1 commit 2026-11-05 17:21:43 -05:00
joshuafhiggins changed title from fix(mobile): stop Android tab tap flashes to fix(mobile): prevent Android tab ripples from restarting 2026-11-05 17:21:51 -05:00
joshuafhiggins merged commit 85a2dd5c88 into main 2026-11-06 17:38:39 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#76