mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
dad462258f
Summary:
Setting `transform: {perspective: 0}` was causing app failure due to `NaN` produced by divide by zero in [MatrixMath.js](https://github.com/facebook/react-native/blob/96553cf553e26e48a87f83030e04aef788f2dfef/Libraries/Utilities/MatrixMath.js#L118).
See issue #2616
Closes https://github.com/facebook/react-native/pull/5457
Reviewed By: svcscm
Differential Revision: D2851748
Pulled By: bestander
fb-gh-sync-id: d2872fb73b4d95ba0b6e5ed2bee814158645cf73