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

Fixed user interaction enabled in SearchBar when IsEnabled is false #27009

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

NirmalKumarYuvaraj
Copy link
Contributor

Issue Details

The user is able to interact with the search bar even when the IsEnabled property is set to false.

Root Cause

  • Android - The IsEnabled mapper method is missing from the Android platform.
  • iOS & Mac - The UserInteraction is enabled when updating the IsReadOnly and InputTransparent property.

Description of Change

  • Android - Added the missing mapped method for Android platform.
  • iOS & Mac - Changed the priority: The IsEnabled property now takes precedence over IsReadOnly and InputTransparent when determining UserInteractionEnabled.

Validated the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

Issues Fixed

Fixes #14566

Output

Before After
Before.iOS.mov
After.IOS.mov
Before.Android.mov
After.Android.mov

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Jan 8, 2025
@NirmalKumarYuvaraj
Copy link
Contributor Author

@dotnet-policy-service terminate

@karthikraja-arumugam karthikraja-arumugam added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 8, 2025
@NirmalKumarYuvaraj
Copy link
Contributor Author

@dotnet-policy-service agree company="Syncfusion, Inc."

1 similar comment
@NirmalKumarYuvaraj
Copy link
Contributor Author

@dotnet-policy-service agree company="Syncfusion, Inc."

@jfversluis jfversluis added the area-controls-searchbar SearchBar control label Jan 9, 2025
@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-searchbar SearchBar control community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SearchBar IsEnabled property not functioning
4 participants