[iOS] A scroll view above the main list stops `minimizeBehavior="onScrollDown"`.
Mantenedores costumam responder em até 2 dias
@oleksandrzavarzin-callstack já está trabalhando nisso.
Desde 3/11/2026.
- #618 de @oleksandrzavarzin-callstack — aberto
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 18/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Estagnada
- Stack de tecnologia
- ios, react-native, typescript
- Domínio
- mobile
Direção de pesquisa
The bug is in how the native iOS tab bar picks its minimize-on-scroll scroll view when a horizontal ScrollView sits above a vertical one, so start with the minimizeBehavior prop on Tab.Navigator and the native iOS scroll-view handling it reaches. Reproduce with the sample using SHOW_HORIZONTAL_LIST true and false, and check that a finger scroll minimizes the bar only when the horizontal list is removed. Pull request #618 is already open against this issue, so review it before starting any separate fix.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Before submitting a new issue
- I tested using the latest version of the library, as the bug might be already fixed.
- I tested using a supported version of react native.
- I checked for possible duplicate issues, with possible answers.
Bug summary
Some tabs have a second scroll view before the main list. On iOS 26 and later, scrolling down in such a tab does not minimize the tab bar. An example is a short horizontal list of chips above a vertical list. The main list scrolls, but the tab bar stays full size.
UIKit picks the scroll view that drives minimizing from the first subview of each view, repeated down the tree. In this layout, the first scroll view on that path is the horizontal list, so vertical scrolling of the main list has no effect.
Library version
1.5.0
Environment info
System:
OS: macOS 27.0.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.20.0
Yarn: 1.22.22
npm: 11.19.0
Watchman: 2026.07.27.00
Managers:
CocoaPods: 1.17.0
SDKs:
iOS SDK:
Platforms: DriverKit 27.0, iOS 27.1, macOS 27.0, tvOS 27.0, visionOS 27.0, watchOS 27.0
IDEs:
Xcode: 27.1/27A9275
npmPackages:
expo: 58.0.16
react: 19.3.0
react-native: 0.88.0
react-native-bottom-tabs: 1.5.0
"@bottom-tabs/react-navigation": 1.5.0
"@react-navigation/native": 7.5.1
"@react-navigation/native-stack": 7.21.0
react-native-screens: 4.30.0
react-native-safe-area-context: 5.10.1
"@shopify/flash-list": 2.3.2
iOS:
hermesEnabled: true
newArchEnabled: true
Device:
iPhone 17 Pro simulator, iOS 26.5
Steps to reproduce
- Create a tab navigator with
minimizeBehavior="onScrollDown". - In the first tab, render a horizontal
ScrollViewand, below it, a verticalScrollView,FlatList, orFlashList. - Scroll down in the vertical list with a finger. A scroll from code (
scrollTo) never minimizes the bar.
function HomeScreen() {
return (
<View style={{ flex: 1 }}>
<ScrollView horizontal style={{ flexGrow: 0 }}>
{/* chips */}
</ScrollView>
<ScrollView contentInsetAdjustmentBehavior="automatic">
{/* long content */}
</ScrollView>
</View>
);
}
If you remove the horizontal list, the tab bar minimizes.
| Without the horizontal list: the tab bar minimizes | With the horizontal list: the tab bar stays full size |
|---|---|
| https://github.com/user-attachments/assets/c7af0c77-bf7d-45c2-9a3f-5c340e7ad507 | https://github.com/user-attachments/assets/2f84e03b-3f2c-40d8-a046-37736c012055 |
Reproducible sample code
import { NavigationContainer } from '@react-navigation/native';
import { createNativeBottomTabNavigator } from '@bottom-tabs/react-navigation';
import { ScrollView, Text, View } from 'react-native';
const SHOW_HORIZONTAL_LIST = true;
const Tab = createNativeBottomTabNavigator();
function HomeScreen() {
return (
<View style={{ flex: 1 }}>
{SHOW_HORIZONTAL_LIST && (
<ScrollView horizontal style={{ flexGrow: 0, marginTop: 60 }}>
{Array.from({ length: 12 }, (_, i) => (
<Text key={i} style={{ padding: 16 }}>
Chip {i + 1}
</Text>
))}
</ScrollView>
)}
<ScrollView contentInsetAdjustmentBehavior="automatic">
{Array.from({ length: 50 }, (_, i) => (
<Text key={i} style={{ padding: 20 }}>
Item {i + 1}
</Text>
))}
</ScrollView>
</View>
);
}
function ProfileScreen() {
return <View style={{ flex: 1 }} />;
}
export default function App() {
return (
<NavigationContainer>
<Tab.Navigator minimizeBehavior="onScrollDown">
<Tab.Screen
name="Home"
component={HomeScreen}
options={{ tabBarIcon: () => ({ sfSymbol: 'house.fill' }) }}
/>
<Tab.Screen
name="Profile"
component={ProfileScreen}
options={{ tabBarIcon: () => ({ sfSymbol: 'person.fill' }) }}
/>
</Tab.Navigator>
</NavigationContainer>
);
}
- Linguagem predominante
- TypeScript
- Estrelas
- 1.5k
- Forks
- 112
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 13
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de callstack/react-native-bottom-tabs
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 58/100
callstack/react-native-bottom-tabs#619 ·
Mantenedores costumam responder em até 2 dias
-
[iOS] Tabs don't fire tabLongPress event on iOS 26Talvez já em andamento @thiagobrez assumiu há 45 dias. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
callstack/react-native-bottom-tabs#573 ·
Mantenedores costumam responder em até 2 dias
-
iOS: allow opting out of the private-CoreSVG SVG decoder (exclude_files by default, or an opt-in flag)Talvez já em andamento @oleksandrzavarzin-callstack assumiu há 12 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
callstack/react-native-bottom-tabs#565 ·
Mantenedores costumam responder em até 2 dias
-
Tab icon size is hard-coded to 27x27pt with no way to override itTalvez já em andamento @teddyxfire1992 assumiu há 8 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
callstack/react-native-bottom-tabs#561 · 1 comentário · 2 reações ·
Mantenedores costumam responder em até 2 dias
-
White flash when lazily loading a tab on iOS 27Talvez já em andamento @thiagobrez assumiu há 70 dias. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
callstack/react-native-bottom-tabs#547 · 2 reações ·
Mantenedores costumam responder em até 2 dias
Todas as issues de callstack/react-native-bottom-tabs
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Open-Earth-Foundation/CityCatalyst#3399 ·
Mantenedores costumam responder em até 2 dias
-
userReport
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
nkprasad12/morcus-net#631 ·
Mantenedores costumam responder em até 1 dia
-
fix(app): fail closed if GetGeneralSetting fails during initializationTalvez já em andamento @kalavt assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
nekko-labs/nekko-agent#1756 ·
Mantenedores costumam responder em até 1 dia
-
needs-area-label
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 2 dias