overflow_view icon indicating copy to clipboard operation
overflow_view copied to clipboard

Hit test always returns false

Open ndelanou opened this issue 2 years ago • 1 comments

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

ndelanou avatar Aug 02 '23 08:08 ndelanou

My current fix is to change this line by:

return true;

ndelanou avatar Sep 19 '24 15:09 ndelanou