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

incorrect scroll direction with inverted prop on web #558

Closed
1 of 3 tasks
louisholley opened this issue Aug 12, 2022 · 2 comments
Closed
1 of 3 tasks

incorrect scroll direction with inverted prop on web #558

louisholley opened this issue Aug 12, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@louisholley
Copy link

Current behavior

using a FlashList with inverted={true} on react native web, scrolling the mouse makes the list scroll in the opposite direction to what's expected. e.g. scrolling up makes the list go down and vice versa

Expected behavior

scrolling up would make the list go up, and scrolling down would make the list go down

To Reproduce

render two FlashLists next to each other, one with inverted prop set to true and observe the scroll direction discrepancy between them

Platform:

  • iOS
  • Android
  • Web

Environment

1.2.1

@louisholley louisholley added the bug Something isn't working label Aug 12, 2022
@louisholley
Copy link
Author

same as #559, it seems like it's something we're doing internally that's causing this as i can't reproduce it with a simplified example

@maksymskuibida
Copy link

maksymskuibida commented Jul 15, 2024

I have same issue, also with chat interface (as you wrote in metioned issue). @louisholley by any chance, did you manage to find workaround for this?

(I don't have issues, like in metioned issue, but I have issue with scroll direction)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants