Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tabViewBottomAccessory() support #394

hennessyevan started this conversation in Ideas
Discussion options

iOS 26 supports a new modifier called tabViewBottomAccessory that allows you to attach a view that floats above the tab bar and is aware of whether the tab bar is expanded or collapsed via the TabViewBottomAccessoryPlacement environment variable.

I would love to have this api exposed to react-native-bottom-tabs. We could have the placement be available in context of the Tabs

<Tabs tabViewBottomAccessory={MyAccessoryView}>...</Tabs>
function MyAccessoryView() {
 const placement = useTabViewBottomAccessoryPlacement()
 return (
 <View styles={{ backgroundColor: placement === 'inline' ? 'red' : 'green' }} />
 )
}
You must be logged in to vote

Replies: 1 comment

Comment options

Hey @hennessyevan! Any updates on this? Have you found any workaround for how to use the tabViewBottomAccessory now?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /