Skip to content

Cannot press some content rendered outside of list item #1584

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

Open
2 tasks done
DevinFrenze opened this issue Mar 24, 2025 · 0 comments
Open
2 tasks done

Cannot press some content rendered outside of list item #1584

DevinFrenze opened this issue Mar 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@DevinFrenze
Copy link

DevinFrenze commented Mar 24, 2025

Current behavior

Changing the pointerEvents property for the CellRendererComponent to pointerEvents="box-none" is not effective because the CellContainerChild view will still interact with all pointer events.

Expected behavior

Adding a CellChildComponent property that behaves like the CellRendererComponent property would allow developers to modify properties of the View rendered here without introducing any breaking changes.

To Reproduce

  • Render a FlashList where each item renders pressable items outside the boundaries of its parent.
  • Pass a CellRendererComponent property with pointerEvents="box-none".
  • Try to press on the pressable items. Some of them are not pressable because they are rendered behind the View rendered in getCellContainerChild which is intercepting the pointer events.

Platform:

  • iOS
  • Android

Environment

1.7.6

@DevinFrenze DevinFrenze added the bug Something isn't working label Mar 24, 2025
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

1 participant