Android windowTranslucentNavigation makes LogBox buttons unpressable #29397
Labels
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
LogBox
Platform: Android
Android applications.
Resolution: Locked
This issue was locked by the bot.
Resolution: PR Submitted
A pull request with a fix has been provided.
Description
Android apps can specify
android:windowTranslucentNavigation
to draw beneath the navigation (bottom) bar on phones that display an on-screen ("soft") navigation bar.However,
react-native'
sLogBox
does not properly detect the bottom inset, and thus the buttons it displays at the bottom are unpressable.This is not exactly a regression from
YellowBox
/RedBox
, since they too did not detect the bottom inset. But the old components had slightly taller buttons, and it was still possible to press their top edge. WithLogBox
, the entirety of the buttons are obscured by the navigation bar.React Native version:
Steps To Reproduce
android:windowTranslucentNavigation
in yourstyles.xml
LogBox
Expected Results
I'd like to see the LogBox drawn within the "Safe Area", to borrow an iOS development term. The buttons should appear above the navigation bar.
Link to a repository
I have set up https://github.com/Ashoat/LogBoxTest to reproduce this issue.
The text was updated successfully, but these errors were encountered: