From ab8f3ff3e9e6445fa9961467e965792908d4c2bd Mon Sep 17 00:00:00 2001 From: Dawid Date: Thu, 10 Oct 2024 06:37:28 -0700 Subject: [PATCH] fix: vertical scroll views are detected as horizontals (#46836) Summary: There is a numerical issue that causes vertical scroll view to be considered as the horizontal one and leads to problems described [here](https://github.com/facebook/react-native/issues/46592). The problem is no longer visible after checking if the scroll view is horizontal with float equality. ~~I am not sure if it also happens on Android, so I am leaving it as a draft for now.~~ Fixes https://github.com/facebook/react-native/issues/46592 ## Changelog: [IOS] [FIXED] - check if scroll view is horizontal with float equality.