Skip to content

.Net 10 Picker item not centered and wrong focus outline of Entry on Mac #34899

Description

@changguangyu

Description

  1. Picker item is not properly centered in the popup selector
  2. Entry focus outline is misaligned with the control border, border radius of focus outline is too large
  3. Picker focus outline is misaligned with the control border, border radius of focus outline is too large
Image Image Image

Steps to Reproduce

1.Create a empty MAUI project using .net 10 with VS Code on Mac.
2.Add the following code in MainPage.xaml:

`
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Baboon</x:String>
<x:String>Capuchin Monkey</x:String>
<x:String>Blue Monkey</x:String>
<x:String>Squirrel Monkey</x:String>
<x:String>Golden Lion Tamarin</x:String>
<x:String>Howler Monkey</x:String>
<x:String>Japanese Macaque</x:String>
</x:Array>
</Picker.ItemsSource>

        <Entry />`
  1. Run app on mac.

Link to public reproduction project repository

No response

Version with bug

10.0.50

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.120 SR12

Affected platforms

macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions