Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error "available height is undefined" when editing textinput the app closes #44141

Open
Ivancmendoza opened this issue Apr 17, 2024 · 3 comments
Labels
Component: TextInput Related to the TextInput component. Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍

Comments

@Ivancmendoza
Copy link

Description

This morning not everything was working perfectly, I even updated some expo libraries, specifically: expo from 15.0.14 to 15.0.17 in addition to the expo-media-library from 15.9.0 to 15.9.1 and there was no problem, When editing the textinput everything was going well, but just an hour ago this error appeared, I tried a previous version of my project and the same thing happened, I just couldn't explain it, I have seen that this problem has been around for a while but I have not seen a solution. Tanks for readme

Steps to reproduce

VID_20240417_160048.mp4

React Native Version

0.73.6

Affected Platforms

Runtime - Android, Build - Linux

Output of npx react-native info

System:
  OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
  CPU: (4) x64 Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz
  Memory: 2.07 GB / 7.50 GB
  Shell:
    version: 5.1.16
    path: /bin/bash
Binaries:
  Node:
    version: 20.12.2
    path: /usr/bin/node
  Yarn: Not Found
  npm:
    version: 10.5.0
    path: /usr/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.6
    wanted: ^0.73.6
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

In the console I don't get any messages, only the Expo go app closes suddenly, I added a demonstration video where I get this error: available height is indefinite so height measure mode must be measured mode::undefined

Reproducer

VID_20240417_160048.mp4

Screenshots and Videos

No response

@github-actions github-actions bot added Component: TextInput Related to the TextInput component. Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Apr 17, 2024
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@Ivancmendoza
Copy link
Author

Hello, apparently the real problem comes from the new Gboard update, when the keyboard opens it displays a screen from bottom to top and hides everything, does anyone have the same problem?

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Apr 18, 2024
@bernardinaquintas
Copy link

Esse erro geralmente ocorre quando usamos valores percentuais para definir a altura de elementos filhos entro de um ScrollView ou FlatList no React Native, tenta definir a altura dos elementos filhos do ScrollView ou FlatList usando valores fixos. E por outra verifique compatibilidade de bibliotecas que esta a ser usada no seu projecto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: TextInput Related to the TextInput component. Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

2 participants