Setting
Setting copied to clipboard
Hiding search by default placement: .navigationBarDrawer(displayMode: .automatic))
Hi, thank you for this nice project. I am just wondering about the possibility of hiding the search by default and make it visible when the user starts to scroll just like in the Settings.app.
I tried to modify the main view in SettingStack struct as below but didn't work, usually it does. Any other changes I need to do?
.if(isSearchable) { view in
view
.searchable(text: $settingViewModel.searchText, placement: .navigationBarDrawer(displayMode: .automatic))
}