From 88a8bd23e8744b1cdc5618f7c985eafbb835ff93 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 8 Oct 2026 12:29:34 -0700 Subject: [PATCH] Tweak LogBox notifications for iPhone Duo, fix rail touches (#58958) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Minimal fixes to the LogBox notification toasts for the iPhone Duo, where they stretch across the unfolded display and block the tab bar beside them when folded. - Cap the toasts at 600pt wide and center them, so they no longer span the unfolded display edge to edge. - **Fix**: Pass touches outside the toasts through to the app, so the folded Duo's rail tab bar beside them stays tappable. - **Fix**: Raise the dismiss ×'s contrast from about 2.5:1 to about 7:1. Previously, it drew in the toast's own color on a mid-gray circle and read as **faint/invisible**; the icon is unchanged. - **Tweak**: Round corners from 8 to 12px. | Before | After | |---|---| | | | Changelog: [General][Fixed] - **LogBox**: Fix bottom notification appearance/touch targets on iPhone Duo Pull Request resolved: https://github.com/react/react-native/pull/58958 Test Plan: ``` yarn test packages/react-native/Libraries/LogBox ``` **iPhone Duo, folded** | Before | Before, tab bar blocked | After | |---|---|---| | @@ -59,9 +63,11 @@ exports[`LogBoxNotificationContainer should render both an error and warning not @@ -116,8 +122,10 @@ exports[`LogBoxNotificationContainer should render the latest error notification @@ -175,8 +185,10 @@ exports[`LogBoxNotificationContainer should render the latest warning notificati