Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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](#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 #46592 ## Changelog: [IOS] [FIXED] - check if scroll view is horizontal with float equality. <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [IOS] [FIXED] - fixed scroll view For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: #46836 Test Plan: Tested on the repro provided in the above issue. Reviewed By: rshest Differential Revision: D64114476 Pulled By: cortinico fbshipit-source-id: a5048e1403c4bb675d32928937d6411cfb12fd51
- Loading branch information