SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 154 C++

Fix crash that happens with shadow color with 0 alpha (#46551)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46551

We crash if we pass a shadow color with 0 alpha due to some divide by 0 logic. This fixes that for inset and outset shadows and adds a test for that case.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D62899047

fbshipit-source-id: 2aff1d016dd97bed024df1c3f89bcc62e49f0306
J
Joe Vilches committed
7e38cf32eb76d91e056a56faa57b511dcdbe8129
Parent: 40638b8
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 9/18/2024, 11:44:45 PM