Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET MAUI Uranium 2.9.1 PickerField Bug on Windows #746

Open
MuriloGarrido opened this issue Aug 26, 2024 · 1 comment
Open

.NET MAUI Uranium 2.9.1 PickerField Bug on Windows #746

MuriloGarrido opened this issue Aug 26, 2024 · 1 comment
Labels
bug-report Potential bug that should be verified control-pickerfield
Milestone

Comments

@MuriloGarrido
Copy link

When I click on the PickerField for Uranium in Windows for the first time, all the options appear and occupy the entire field. However, when I click a second time, the selection area decreases in size, and I the options shows only if I click very close to the label.

First attempt (The picker shows items if you click anywhere in the PickerField.)
e8Qwwa4v

Other attempts (The picker shows items if you click very close to the title. However, if you click on the title or farther away, the options do not appear.)
gYhnv3kI

Xml Code

`

    <StackLayout Margin="20">


    <material:PickerField HorizontalOptions="FillAndExpand" ItemsSource="{Binding List}"/>
    <material:PickerField HorizontalOptions="FillAndExpand"  ItemsSource="{Binding List}"/>


</StackLayout>

`

CodeBehind
`namespace MyUraniumProject
{
public partial class MainPage : ContentPage
{
public ObservableCollection List { get; set; }

    public MainPage()
    {
        InitializeComponent();

        List = new ObservableCollection<string>() { 
        "a", "b", "c", "d"
        };

        BindingContext = this;
    }


}

}`

@enisn enisn added control-pickerfield bug-report Potential bug that should be verified labels Sep 12, 2024
@enisn enisn added this to the v2.9 milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Potential bug that should be verified control-pickerfield
Projects
None yet
Development

No branches or pull requests

3 participants
@enisn @MuriloGarrido and others