Skip to content
Open
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
3 changes: 3 additions & 0 deletions ios/BottomSheetComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,9 @@ - (void)prepareForRecycle
[self restoreInlinePresentation];
_needsIndexSyncAfterRecycle = YES;
[_sheetView resetSheetState];
// `_extendUnderStatusBar` is the diff baseline for the prop, so the hosting
// view has to be reset with it or a recycled sheet keeps the previous flag.
[_sheetView setExtendUnderStatusBar:NO];
_sheetState.reset();
_lastContentOffsetY = 0;
_lastGeometryFrameSize = CGSizeZero;
Expand Down