Skip to content

After selecting an item in the picker, the 'Unfocused' event does not trigger. #21704

@bhuwancb99

Description

@bhuwancb99

Description

When selecting any item inside the picker, the 'Unfocused' event fails to trigger. Previously, in Xamarin Forms, it worked correctly. However, currently, it functions properly only on iOS. On Android, the event does not occur as expected; upon selecting an item, no action is taken.
image

image

image

Steps to Reproduce

Create .NET MAUI New Project -> Select .NET 8.0 -> Add Picker Inside Page - > add Event Unfocused -> When select any item inside picker -> Unfocused event not trigger.

Link to public reproduction project repository

https://1drv.ms/f/s!Alibu8GDjP9aggKpS2vWOW7lZMxh?e=zt5toB

Version with bug

8.0.14 SR3.1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 14

Did you find any workaround?

No response

Relevant log output

sometime getting this error when select picker-
Android.Views.InflateException: 'Binary XML file line #23 in com.abc.xyz:layout/mtrl_alert_select_dialog_item: Binary XML file line #23 in com.abc.xyz:layout/mtrl_alert_select_dialog_item: Error inflating class TextView'

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-pickerPickermigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions