π Weird effect when a ComboBox is inside a SizedBox
WinXaito opened this issue Β· comments
Kevin Vuilleumier commented
Bruno D'Luka commented
Can you provide a reproducible snippet?
Kevin Vuilleumier commented
SizedBox(
width: 200,
child: ComboBox(
value: 1,
items: const [
ComboBoxItem(
value: 1,
child: Text('Val 1'),
),
ComboBoxItem(
value: 2,
child: Text('Val 2'),
),
],
onChanged: null,
),
),
Give this:
I would expect to have Val 1
on the left, and the chevron at the right.
Is it okay with that or you need a full reproductible project ?
Edit:
And if instead of 'Val 2'
I put 'Val 2 long value'
, I got this when Val 1
is selected:
And that looks really weird.