Minor release focused on fixing bugs, especially with the formSheet
presentation, introduction of pageSheet
presentation on iOS and integration with react-native-edge-to-edge
on Android.
Note
Notable change is that for some time now we publish nightly builds. You can check them out by running yarn install react-native-screens@nightly
.
What's Changed
⚠️ Important
🟢 Improvements
- feat(iOS): add pageSheet presentation for native-stack by @kligarski in #2793
- feat(iOS): add
unstable_accessibilityContainerViewIsModal
prop forFullWindowOverlay
by @kkafar in #2854 - feat(Android,unstable): integration with
react-native-edge-to-edge
by @zoontek in #2464 - feat(iOS): make
fitToContents
sheet height react to dynamic content by @kligarski in #2877 - feat(Android): deprecate status/navigation bar edge to edge related props in native code by @kligarski in #2913
🐞 Bug fixes
- fix(iOS): prevent back button icon from "jumping" during pop animation when display mode minimal is set by @kkafar in #2800
- fix(Android): pressables lose focus on fast movement when
gesture-handler
is present by @kkafar in #2819 - fix(iOS):
useHeaderHeight
does not report correct value after cancelling search by @maciekstosio in #2817 - fix(Android): drawing order for multiple disappearing screens by @kligarski in #2806
- fix(Android,Paper): fix flicker during formsSheet enter transition on slow Android devices - not preloaded formSheet by @kkafar in #2820
- fix(Windows): fix building and crashing issues by @kligarski in #2826
- fix(iOS,Fabric): fix sporadic exiting screen content jump on goBack action by @kkafar in #2838
- fix(iOS,Fabric):
TouchableOpacity
does not work on screens withheaderTranslucent: true
on notchless iOS devices with older OS versions by @kkafar in #2858 - fix(iOS): fix header back button display mode when back title text is custom by @maciekstosio in #2860
- fix:
ScreenStackHeaderSearchBarView
invalid props type by @kkafar in #2881 - fix: use
providers.exec
to enableconfiguration-cache
by @lukmccall in #2903 - fix(Fabric,iOS): header subviews do not support dynamic content changes by @kkafar in #2905
- fix(Fabric,Android): header subviews do not support dynamic content changes by @kkafar in #2910
- fix(iOS): prevent blocking search bar cancel button by detached header subviews by @kkafar in #2912
- fix(Android): fix formSheet sliding from top when it contains input with autofocus by @kligarski in #2909
- fix(CI): publish nightly - incorrect relative paths to scripts & missing build.log by @kkafar in #2891
- fix: remove global ref when invalidating module by @WoLewicki in #2914
- fix(iOS): pressables in header not working when hosting screen has modal presentation by @kkafar in #2915
- fix(iOS): allow to hide the search bar by @kligarski in #2926
- fix(Android): fix formSheet not adjusting for keyboard when it contains input with autofocus by @kligarski in #2911
- fix(iOS): fix detents not changing if sheetInitialDetent > 0 by @kligarski in #2935
- fix(Fabric,iOS): cancel conflicting presses in modals on swipe back gesture by @kkafar in #2943
- [0.80] Do not use ChoreographerCompat by @cortinico in #2878
🔢 Misc
- chore: sort test screens by test number by @kligarski in #2814
- refactor(Android): add
isTranslucent
toScreenFragmentWrapper
& align method naming onScreen
by @kkafar in #2818 - test(e2e,Fabric): add e2e tests for issue/PR examples 42..528 by @kligarski in #2787
- test(Fabric): add e2e test for issue 577 by @kligarski in #2816
- test(Windows): add Windows CI by @kligarski in #2832
- chore(deps): aggregate updates from dependabot by @kkafar in #2833
- chore(deps): aggregate updates from dependabot - another round by @kkafar in #2839
- chore(iOS): add code comment explaining validity of a tag value by @kkafar in #2840
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /docs by @dependabot in #2841
- chore(deps): aggregate updates from dependabot by @kkafar in #2847
- docs: update information in native-stack's README and guide for library authors by @kligarski in #2851
- test(e2e, Fabric): add e2e test for issue/PR example 593 by @kligarski in #2849
- test(e2e, Fabric): add e2e tests for issue/PR examples 619..640 by @kligarski in #2850
- chore(examples): update lock files after release 4.11.0-beta.1 by @kkafar in #2852
- chore(CI): Update node version on CI, bump react-navigation and fix windows pipeline by @maciekstosio in #2853
- chore(iOS, Fabric): add tests for header interactions by @maciekstosio in #2848
- refactor(iOS): remove code unused on iOS >= 15.1 by @kkafar in #2862
- chore: bump react-navigation after changes from #2860 by @maciekstosio in #2866
- refactor(iOS): remove code unused on tvOS & iOS >= 15.1 by @kkafar in #2864
- refactor(iOS): move back item configuration to separate method by @kkafar in #2865
- refactor(iOS): limit scope of
shouldUseCustomBackBarButtonItem
flag by @maciekstosio in #2867 - chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /docs by @dependabot in #2879
- test(e2e, Fabric): add e2e tests for issue/PR examples 642..645 by @kligarski in #2875
- refactor: move sheet specific helper functions to separate module by @kkafar in #2880
- refactor: fix warning in
SearchBar
code by renaming param by @kkafar in #2882 - refactor: simplify props in
HeaderConfig
asViewProps
already include children by @kkafar in #2883 - refactor(web): cleanup types in ScreenStackHeaderConfig by @kkafar in #2886
- chore(CI): add nightly publish workflow by @kkafar in #2890
- test(e2e, Fabric): add e2e tests for issue/PR examples 648..649 by @kligarski in #2897
- test(e2e, Fabric): add e2e test for issue/PR example 654 by @kligarski in #2898
- chore(deps): bump @babel/helpers from 7.24.7 to 7.27.1 in /docs by @dependabot in #2901
- test(e2e, Fabric): add e2e test for issue/PR example 658 by @kligarski in #2900
- chore(example): allow for styling `PressableWithFeedback by @kkafar in #2906
- chore(iOS): fix XCode symbol discovery for methods surrounded with
RNS_IGNORE_SUPER_CALL_BEGIN
by @kkafar in #2907 - test(e2e, Fabric): add e2e tests for issue/PR examples 662..691 by @kligarski in #2916
- chore(example): add shared, reusable color values by @kkafar in #2922
- Update README.md by @donni106 in #2920
- test(e2e, Fabric): add e2e tests for issue/PR examples 702..726 by @kligarski in #2928
- chore: add search bar to Example app and use it in e2e tests by @kligarski in #2919
New Contributors
Full Changelog: 4.10.0...4.11.0