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

[MacCatalyst] Picker control Focused and Unfocused events does not trigger whether focusing manually or programmatically. #27957

Open
TamilarasanSF4853 opened this issue Feb 21, 2025 · 0 comments · May be fixed by #27973
Labels
area-controls-picker Picker partner/syncfusion Issues / PR's with Syncfusion collaboration platform/macOS 🍏 macOS / Mac Catalyst t/bug Something isn't working

Comments

@TamilarasanSF4853
Copy link

TamilarasanSF4853 commented Feb 21, 2025

Description

On macOS, the Picker control does not correctly update the focused and unfocused count when triggering .Focus() and .Unfocus(). The Focused and Unfocused event handlers execute, but the labels displaying the count do not reflect the expected updates. This issue occurs when interacting with the picker via buttons that programmatically call .Focus() and .Unfocus().

Note: While fixing this issue enable the mentioned UITest: Issue2339

Screen.Recording.2025-02-21.at.5.21.58.pm.mov

Steps to Reproduce

  1. Run the attached sample application on macOS. PickerIssue.zip
  2. Click the "Click me to call .Focus on Picker" button.
  3. Observe that the Picker Focused count label does not increment.
  4. Click the "Click me to call .Unfocus on Picker" button.
  5. Observe that the Picker Unfocused count label does not increment.
  6. Click the "Click me to .Focus() picker, wait 2 seconds, and .Unfocus() picker" button.
  7. Again, observe that the focused and unfocused count labels do not update.

Expected Behavior:

The Picker's Focused and Unfocused event handlers should update the respective count labels when triggered.
Clicking the focus and unfocus buttons should increment the displayed counts accordingly.

Actual Behavior:

The Picker's Focused and Unfocused event handlers execute but do not update the count labels.
The UI does not reflect the change when the picker gains or loses focus.

Link to public reproduction project repository

No response

Version with bug

9.0.40 SR4

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@TamilarasanSF4853 TamilarasanSF4853 added the t/bug Something isn't working label Feb 21, 2025
@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 21, 2025
@kubaflo kubaflo linked a pull request Feb 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-picker Picker partner/syncfusion Issues / PR's with Syncfusion collaboration platform/macOS 🍏 macOS / Mac Catalyst t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants