Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### 🐛 Bug fixes

- **Android**: A sheet with `grabber={false}` whose `scrollableRef` scroll view mounts after the sheet presents, such as content that shows a loader first, now closes on a short pull with `dismissThreshold="short"`. The pull used to spring back. ([#1024](https://github.com/lodev09/react-native-true-sheet/pull/1024) by [@isaacrowntree](https://github.com/isaacrowntree))

### 💡 Others

- The Expo example in `example/expo` now runs SDK 58, and the SDK 57 example moves to `example/expo-57` (`yarn expo-57`). The bare example is upgraded to React Native 0.88. ([#1016](https://github.com/lodev09/react-native-true-sheet/pull/1016) by [@lodev09](https://github.com/lodev09))
Expand Down
3 changes: 3 additions & 0 deletions android/src/main/java/com/lodev09/truesheet/TrueSheetView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@ class TrueSheetView(private val reactContext: ThemedReactContext) :
if (viewController.scrollableHandle == handle) return
viewController.scrollableHandle = handle
setupScrollable()
// BottomSheetBehavior only looks for its nested scrolling child in onLayoutChild, and
// nothing else is sure to lay the sheet out after a handle that arrives once it is presented.
viewController.sheetView?.requestLayout()
}

fun setAbsoluteHeader(absolute: Boolean) {
Expand Down
Loading