We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc4090 commit 3793de6Copy full SHA for 3793de6
packages/react-native-bottom-tabs/ios/TabView/NewTabView.swift
@@ -41,15 +41,17 @@ struct NewTabView: AnyTabView {
41
.tabAppear(using: context)
42
.hideTabBar(props.tabBarHidden)
43
.toolbar(tabData.navigationBarToolbarStyle.convert(), for: .navigationBar)
44
- .searchable(text: $query)
+
45
.searchFocused($focused)
46
.onChange(of: focused){ newValue in
47
onSearchFocusChange(newValue)
48
}
49
.onChange(of: query) { newValue in
50
onSearchTextChange(newValue)
51
52
- }
53
+ }.navigationViewStyle(StackNavigationViewStyle())
54
+ .searchable(text: $query)
55
}else{
56
RepresentableView(view: child.view)
57
.ignoresSafeArea(.container, edges: .all)
0 commit comments