### Target Branch(es) 0.78 ### Link to commit or PR to be picked https://github.com/facebook/react-native/pull/50090 ### Description Original [issue](https://github.com/facebook/react-native/issues/49783) was fixed on main branch but didn't get into 0.78-stable. I'm reporting this cherry-pick to not loose this fix.