Fullscreen modal buggy (flickering) when using CustomTabBar
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- react-native, typescript
- Domínio
- mobile
Direção de pesquisa
Comece executando o exemplo reproduzível em https://github.com/dylancom/native-tabs-modal-bug e navegando com presentation definido como fullScreenModal e animation definido como none. Rastreie a transição de CustomTabBar e do layout do modal que produz a altura inicial da barra de abas e, em seguida, verifique se a navegação renderiza consistentemente o modal em tela cheia, sem cintilação ou uma área preta na parte inferior.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Bug summary
When using a custom tab bar as by your example, full-screen modals behave inconsistently when no animation is used (animation: "none"). Upon navigation, the new screen’s height is initially calculated as SCREEN_HEIGHT - TABBAR_HEIGHT, and shortly after, it adjusts to include the height of the tabbar, causing noticeable flickering.
In other cases, the new screen ends up with a black area at the bottom, matching the height of the tab bar.
Navigating to the modal shortly still shows the tabbar sometimes (for a frame):
Then shortly after renders the full screen as supposed to:
It also happens that it just shows a black area at the bottom part all the time:
Library version
0.9.2
Environment info
⚠️ react-native depends on @react-native-community/cli for cli commands. To fix update your package.json to include:
"devDependencies": {
"@react-native-community/cli": "latest",
}
Steps to reproduce
Navigate to a screen that has the following options:
options={{
title: "Modal",
presentation: "fullScreenModal",
animation: "none",
}}
Reproducible sample code
https://github.com/dylancom/native-tabs-modal-bug
- Linguagem predominante
- TypeScript
- Estrelas
- 1.5k
- Forks
- 111
- Merge médio
- 1d 13h
- PRs com merge (30d)
- 8
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
-
renderBottomAccessoryView crashes on iOS 26: RCTBottomAccessoryComponentView does not initialize _props in its constructorTalvez já em andamento @oleksandrzavarzin-callstack assumiu hoje. Abertabug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
callstack/react-native-bottom-tabs#607 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[iOS] Fabric: SIGABRT on tab press when tab key contains non-ASCII characters (kCFStringEncodingUTF8 passed to -cStringUsingEncoding:)Talvez já em andamento @oleksandrzavarzin-callstack assumiu há 3 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
callstack/react-native-bottom-tabs#560 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
callstack/react-native-bottom-tabs#613 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[iOS] Tabs don't fire tabLongPress event on iOS 26Talvez já em andamento @thiagobrez assumiu há 43 dias. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
callstack/react-native-bottom-tabs#573 ·
Mantenedores costumam responder em até 1 dia
-
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á 10 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
callstack/react-native-bottom-tabs#565 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de callstack/react-native-bottom-tabs
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
unocss/unocss#5421 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
needs-area
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Azure/typespec-azure#5936 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 Meio dia Facilidade para iniciantes 72/100
vercel-labs/scriptc#2910 ·
Mantenedores costumam responder em até 1 dia
-
automation missing-model model-sync provider:fireworks-ai
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
anomalyco/models.dev#12458 ·
Mantenedores costumam responder em até 1 dia