Skip to content

Cannot press some content rendered outside of list item #1584

Open
@DevinFrenze

Description

@DevinFrenze

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions