You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ios): use RNSLifecycleListenerProtocol for screen dismiss detection (#402)
* chore: add goBack test case on example
* fix(ios): create snapshot of containerView during unmount
* fix(ios): use RNSLifecycleListenerProtocol for screen dismiss detection
- Add RNSLifecycleListenerProtocol to react-native-screens patch
- TrueSheetViewController conforms to protocol to receive screen lifecycle events
- Rename viewControllerDidDetectPresenterDismiss to viewControllerDidDetectScreenDismiss
- Remove notification-based approach in favor of protocol-based approach
* docs: update changelog and navigation guide for PR #402
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
### 🐛 Bug fixes
10
10
11
-
- Fixed sheet not dismissing when presenter screen is popped from navigation. ([#400](https://github.com/lodev09/react-native-true-sheet/pull/400) by [@lodev09](https://github.com/lodev09))
11
+
- Fixed sheet not dismissing when presenter screen is popped from navigation. ([#400](https://github.com/lodev09/react-native-true-sheet/pull/400), [#402](https://github.com/lodev09/react-native-true-sheet/pull/402) by [@lodev09](https://github.com/lodev09))
12
12
-**iOS**: Fixed position tracking for pending detent changes. ([#394](https://github.com/lodev09/react-native-true-sheet/pull/394) by [@lodev09](https://github.com/lodev09))
13
13
-**Android**: Fixed keyboard and focus handling inside RN Modal. ([#387](https://github.com/lodev09/react-native-true-sheet/pull/387) by [@lodev09](https://github.com/lodev09))
Copy file name to clipboardExpand all lines: docs/docs/guides/navigation.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,7 @@ export default function SheetLayout() {
204
204
## Navigating from Sheets
205
205
206
206
:::note
207
-
Requires a [patch to react-native-screens](https://github.com/lodev09/react-native-true-sheet/blob/main/.yarn/patches/react-native-screens-npm-4.18.0-fa7de65975.patch). See [PR #3415](https://github.com/software-mansion/react-native-screens/pull/3415) and [PR #3525](https://github.com/software-mansion/react-native-screens/pull/3525).
207
+
Requires a [patch to react-native-screens](https://github.com/lodev09/react-native-true-sheet/blob/main/.yarn/patches/react-native-screens-npm-4.18.0-fa7de65975.patch). See [PR #3415](https://github.com/software-mansion/react-native-screens/pull/3415), [PR #3526](https://github.com/software-mansion/react-native-screens/pull/3526).
208
208
:::
209
209
210
210
Navigate directly from sheets - they remain visible when presenting modals on top.
0 commit comments