* fix(android): restore original code * refactor(android): use BottomSheetDialogFragment instead of BottomSheetDialog - Create TrueSheetDialogFragment in core/ for better lifecycle management - Refactor TrueSheetViewController to use the new fragment - Add TrueSheetDialogFragmentDelegate for fragment callbacks - Maintain all existing functionality (detents, animations, keyboard, stacking) * fix(android): fix dialog fragment presentation issues - Move setupSheetDetents and setupDimmedBackground to onDialogShow - Clear FLAG_DIM_BEHIND in fragment's onCreateDialog - Fix footer positioning with post and isPresented check - Rename setDraggable to updateDraggable to fix JVM signature clash * fix(android): animate sheet on content size change - Add animate parameter to configureDetents - Use setPeekHeight with animate flag when sheet is presented - Remove unnecessary footerView.post wrapper * fix(android): position footer during keyboard transitions * fix(android): restore translationY animation for present - Restore translationY logic in animator for child sheets - Remove duplicate setStateForDetentIndex call in onDialogShow - Position sheet off-screen before animation starts - Clean up debug logging * fix(android): fix dismissible behavior and clean up onSlide - Re-apply isHideable after dialog show to fix dismissible - Move isAnimating check to early return in onSlide - Clean up debug logging |
||
|---|---|---|
| .. | ||
| bare | ||
| expo | ||
| shared | ||
| README.md | ||
TrueSheet Examples
This directory contains example apps demonstrating @lodev09/react-native-true-sheet.
Structure
example/
├── bare/ # Bare React Native app (react-native-community/cli)
├── expo/ # Expo Router app
└── shared/ # Shared components and utilities
Setup
From the repository root:
yarn install
Running Examples
Bare React Native
cd example/bare
# iOS
yarn ios
# Android
yarn android
Expo
cd example/expo
# iOS
yarn ios
# Android
yarn android