From d1e9b951192da14f17f806d8bc6ad2930de00ba7 Mon Sep 17 00:00:00 2001 From: Thiago Brezinski Date: Thu, 10 Sep 2026 17:26:14 +0100 Subject: [PATCH] feat(iOS): add sidebarAdaptable support on large-enough screens --- .changeset/sidebar-adaptable-large-iphone.md | 5 +++ .../getting-started/how-is-it-different.mdx | 2 +- docs/docs/docs/guides/standalone-usage.mdx | 6 +++- .../guides/usage-with-react-navigation.mdx | 6 +++- .../ios/TabView/NewTabView.swift | 17 ++++++--- .../ios/TabViewImpl.swift | 23 ++++++++++++ .../ios/TabViewProvider.swift | 36 +++++++++++++++++++ .../react-native-bottom-tabs/package.json | 4 ++- .../react-native-bottom-tabs/src/TabView.tsx | 4 ++- 9 files changed, 94 insertions(+), 9 deletions(-) create mode 100644 .changeset/sidebar-adaptable-large-iphone.md diff --git a/.changeset/sidebar-adaptable-large-iphone.md b/.changeset/sidebar-adaptable-large-iphone.md new file mode 100644 index 00000000..a78a6ca7 --- /dev/null +++ b/.changeset/sidebar-adaptable-large-iphone.md @@ -0,0 +1,5 @@ +--- +'react-native-bottom-tabs': minor +--- + +Enable `sidebarAdaptable` on iOS for large enough screens. diff --git a/docs/docs/docs/getting-started/how-is-it-different.mdx b/docs/docs/docs/getting-started/how-is-it-different.mdx index 42df26b6..8060fbb5 100644 --- a/docs/docs/docs/getting-started/how-is-it-different.mdx +++ b/docs/docs/docs/getting-started/how-is-it-different.mdx @@ -37,7 +37,7 @@ No need for custom scroll to top handling. ### Sidebar Adaptable -TabView can turn in to a side bar on tvOS, iPadOS and macOS. This is controlled by `sidebarAdaptable` prop. +TabView can turn into a sidebar on tvOS, iPadOS, macOS, and on iOS when the screen is large enough. This is controlled by the `sidebarAdaptable` prop. On iOS 27 (built with Xcode 27 or later), the bottom tab bar becomes a sidebar on large screens such as an unfolded iPhone Duo and switches back as the window shrinks.