Skip to content

Hit test always returns false #10

@ndelanou

Description

@ndelanou

When wrapping the OverflowView into a GestureDetector, the onTap callback is never called when tapping on the widget.

GestureDetector(
  onTap: () => print('Hit !'), // Never called
  child: OverflowView.flexible(
    children: [Text('A'), Text('B'), Text('C')],
    builder: (context, remaining) => Text('+$remaining'),
  ),
),

I'm using Flutter (Channel beta, 3.13.0-0.2.pre) but I'm unsure it makes any difference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions