mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7055c52288
Summary: Fix screenshot tests for React with nodes. It was broken due to calling clipRect with bounds of [-∞, ∞], which, due to a bug in Canvas that appeared in screenshot tests, caused the view not to draw. Since this is a no-op anyway, this patch just doesn't call clipRect when we have infinite bounds. Differential Revision: D2975494