Xamarin.forms: [Bug] [UWP] Picker Height

Created on 8 Nov 2019  路  7Comments  路  Source: xamarin/Xamarin.Forms

After updating from Xamarin 3 to 4 I noticed that the picker control (ends up as combobox) now has a height so small I can no longer see its contents or select from it. It works fine on iOS, has anyone else seen this issue?

4.3.0 3 regression UWP bug

Most helpful comment

The gap is caused by a new header content control that wasn't previously there.
pickerissue
This is breaking a lot of my layouts unfortunately.

Also to be clear, this was tested with 4.3 SR2

All 7 comments

@dannythomas13 When you say "3 to 4" - which version of 4?

If it's 4.3, then you might be experiencing the same thing as #8177/#8333/#8307, where the Picker simply ends up having no items in it. If that's the issue, you can expect a fix in the next service release for 4.3.

Thanks @hartez I manually put some items in the xaml and now it at least opens but still a difference in height, I'm guessing the HeightRequest of 50 put a nice chunky box in v3 but no longer in v4, has anyone noticed this?

Ok, so rolling back to v4.2 fixed BOTH issues...I'm now worried that I may bring in another issue that has been fixed since :(

Repro project:
_8439 Repro.zip

There's an extra space at the top of the Picker in 4.3, and that compresses the height of the actual combo box.

Notice the difference between 3.6:
3dot6

And 4.3:
4dot3

The gap is caused by a new header content control that wasn't previously there.
pickerissue
This is breaking a lot of my layouts unfortunately.

Also to be clear, this was tested with 4.3 SR2

Looks like this has been fixed via #8150

I think @Bosch-Eli-Black is correct, this has been fixed. I'm closing this - if anyone is still running into it, tag me here and I'll reopen.

Was this page helpful?
0 / 5 - 0 ratings