Replace TrueSheet with custom SimpleActionSheet implementation - #14
Merged
Conversation
- Remove @lodev09/react-native-true-sheet (critical Android bugs) - Create SimpleActionSheet using only React Native Modal + Animated API - Zero dependencies approach - no Reanimated conflicts - Compatible API with TrueSheet for seamless migration - Fix Android scrolling and gesture handling issues - Add comprehensive bottom sheet research documentation Technical Details: - SimpleActionSheet uses Modal, Animated, PanResponder (RN core only) - Maintains same present/dismiss/resize API as TrueSheet - Smooth animations with useNativeDriver: true - Backdrop support with touch-to-dismiss - Customizable grabber, corner radius, background color Issues Fixed: - TrueSheet Android scrolling completely broken - New Architecture incompatibility with Pressable/TouchableOpacity - 34+ open bugs in TrueSheet - Reanimated freezing issues from @gorhom/bottom-sheet 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add SafeAreaProvider wrapper to fix useSafeAreaInsets crash - Implement PanResponder for swipe-to-dismiss gesture (150px threshold) - Add dynamic bottom padding using useSafeAreaInsets for devices with software nav bars - Add animation delay to fix rendering issues - Add console logs for debugging sheet lifecycle 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Custom Bottom Sheet Component (
components/SimpleActionSheet.js)App.js Updates
Additional Features
Problem Solved
Test Results
🤖 Generated with Claude Code