Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: vertical scroll views are detected as horizontals #46836

Closed
wants to merge 1 commit into from

Conversation

coado
Copy link
Collaborator

@coado coado commented Oct 4, 2024

Summary:

There is a numerical issue that causes vertical scroll view to be considered as the horizontal one and leads to problems described here. 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.

Test Plan:

Tested on the repro provided in the above issue.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Software Mansion Partner: Software Mansion Partner labels Oct 4, 2024
@GuilhermeHCDias
Copy link

Nice! Thank you so much!

@coado coado marked this pull request as ready for review October 7, 2024 08:02
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Oct 7, 2024
@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 10, 2024
@facebook-github-bot
Copy link
Contributor

@cortinico merged this pull request in ab8f3ff.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @coado in ab8f3ff

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Software Mansion Partner: Software Mansion Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] Scrollviews inside row doesn't fire onMomentumScrollEnd
4 participants