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
When wrapping the
OverflowViewinto aGestureDetector, theonTapcallback 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