mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4185a45be4
Summary: `SnapToInterval` is a Float in JavaScript, if we pass it and try to convert it to Int, it crashes in C++. exception > libc++abi.dylib: terminating with uncaught exception of type folly::ConversionError: Loss of precision during arithmetic conversion: (long long) 1.15 Changelog: [Internal] Reviewed By: shergin Differential Revision: D19580509 fbshipit-source-id: f705f92953195a9e034f6ce3fe7a077007d5212d