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

FlatList with horizontal and inverted prevents page scroll on hover #2418

Open
1 task done
JWesorick opened this issue Nov 3, 2022 · 1 comment
Open
1 task done
Labels
bug: react-native Bug associated with upstream React Native vendor code bug

Comments

@JWesorick
Copy link

JWesorick commented Nov 3, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

When using inverted and horizontal on a FlatList the page gets "stuck" as you scroll down and the mouse cursor is over the horizontal Flatlist.

Expected behavior

Should be able to smoothly scroll down a page with a horizontal inverted FlatList.

Steps to reproduce

With a FlatList with inverted and horizontal on a long page that is long enough to scroll in the y direction, on a computer, in a browser, with a mouse:

  1. Scroll down the page using a mouse wheel.
  2. The mouse cursor crosses the horizontal FlatList (:hover)
  3. Page scrolling is now "stuck". Continuing to move the mouse wheel does nothing.

Test case

https://snack.expo.dev/@jjws/flatlist_with_horizontal_and_inverted

Additional comments

No response

@JWesorick JWesorick added the bug label Nov 3, 2022
@necolas
Copy link
Owner

necolas commented Sep 21, 2023

The web fork of FlatList is no longer being maintained, but updating it is blocked on this React Native issue that will allow RN Web to install the same package used in RN. You should comment there facebook/react-native#35263

@necolas necolas added the bug: react-native Bug associated with upstream React Native vendor code label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: react-native Bug associated with upstream React Native vendor code bug
Projects
None yet
Development

No branches or pull requests

2 participants