dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.72k forks source link

Picker not opening when calling Focus() in .NET MAUI #22701

Closed lakhan-bairawat closed 3 months ago

lakhan-bairawat commented 3 months ago

Description

To address the issue of the Picker not opening when calling Focus() in .NET MAUI, particularly in .NET 7 for both Android and iOS, And upgrading to .NET 8 with iOS fixed this issue, but Android is still experiencing this issue.

Steps to Reproduce

  1. Create a File > New .NET MAUI App . 2.1. Add a Picker' like so: <Picker X:Name="xpicker" IsVisible="False" /> 2.2. Add aButton' like so:

Link to public reproduction project repository

No response

Version with bug

8.0.20 SR4

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

8.0.20 SR4

Affected platforms

Android

Affected platform versions

Android All Versions

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 3 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

ninachen03 commented 3 months ago

Verified this issue with Visual Studio 17.11.0 Preview 1.0 ( 8.0.40 & 8.0.21& 8.0.3 ) Can repro it, Xamarin.Forms works fine

mattleibow commented 3 months ago

Duplicate of https://github.com/dotnet/maui/issues/8946

lakhan-bairawat commented 3 months ago

please check the code for this issue on below git repo. https://github.com/lakhan-bairawat/MauiBuugs