From fe046dc7822761322a2eea1bf0ba8a000a4ae8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nishan=20=28o=5E=E2=96=BD=5Eo=29?= Date: Wed, 18 Mar 2026 19:18:00 -0700 Subject: [PATCH] fix(style)(backgroundSize) - Passing unsupported backgroundSize on android causes crash (#55904) Summary: Below snippet would lead to divide by zero crash on android. Currently, "`cover` | `contain`" keywords are not supported for background size as these only work on actual images (`url()` syntax) and not on gradients. These keywords were supposed to be removed in this [commit](https://github.com/facebook/react-native/pull/52282/changes/34c041ce1e13eddbc51bd473c6d241e3ca040887) and added later in this [PR](https://github.com/facebook/react-native/pull/54994) ```jsx ; ``` ## Changelog: [ANDROID] [FIXED] - Unsupported background size value leading to crash