I'm trying have fixed Tabs component at the bottom of the screen. I have tried
<Tabs
contentContainerStyle={{position: "fixed"}}
>
</Tabs>
and even style={{position:"fixed"}}
How do I fix the Tabs at the bottom?
I use the tabItemContainerStyle like this:
<code>
<Tabs tabItemContainerStyle={{position: "fixed", bottom:"0"}}>
</Tabs>
</code>
This work for me
<div style={{position: "fixed", bottom:"0", width:"100%"}}>
<Tabs>
<Tab icon={<ActionFlightTakeoff />} />
<Tab icon={<ActionFlightTakeoff />} />
<Tab icon={<ActionFlightTakeoff />} />
</Tabs>
</div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.