Open ndelanou opened 1 year ago
When wrapping the OverflowView into a GestureDetector, the onTap callback is never called when tapping on the widget.
OverflowView
GestureDetector
onTap
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
My current fix is to change this line by:
return true;
When wrapping the
OverflowView
into aGestureDetector
, theonTap
callback is never called when tapping on the widget.I'm using Flutter (Channel beta, 3.13.0-0.2.pre) but I'm unsure it makes any difference