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

AutoSuggestBox VisualState Foreground issue #9029

Closed
AndrewKeepCoding opened this issue Oct 28, 2023 · 1 comment
Closed

AutoSuggestBox VisualState Foreground issue #9029

AndrewKeepCoding opened this issue Oct 28, 2023 · 1 comment
Labels
area-AutoSuggestBox bug Something isn't working fix-released The fix has been in a release (experimental, preview, stable, or servicing). team-Controls Issue for the Controls team
Milestone

Comments

@AndrewKeepCoding
Copy link
Contributor

Describe the bug

AutoSuggestBox does not switch back its Foreground after pointer exit.
It does switch back its Foreground after losing focus but not when the inside text is selected.
Check the XAML and the video below:

<StackPanel
    HorizontalAlignment="Center"
    VerticalAlignment="Center"
    Orientation="Horizontal"
    Spacing="10">
    <TextBox
        Foreground="Blue"
        Header="TextBox"
        Text="ABCDE" />
    <AutoSuggestBox
        Foreground="Blue"
        Header="AutoSuggestBox"
        Text="ABCDE" />
</StackPanel>
autosuggestbox-foreground-issue.mp4

Steps to reproduce the bug

Use the code above or check this repo.

Expected behavior

AutoSuggestBox should switch back its Foreground after pointer exit.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.4.2: 1.4.231008000

Windows version

No response

Additional context

No response

@AndrewKeepCoding AndrewKeepCoding added the bug Something isn't working label Oct 28, 2023
@codendone codendone added team-Controls Issue for the Controls team area-AutoSuggestBox labels Oct 31, 2023
@karkarl
Copy link
Contributor

karkarl commented Feb 15, 2024

Fixed in internal PR: 10250839

@karkarl karkarl closed this as completed Feb 15, 2024
@codendone codendone added this to the WinAppSDK 1.6 milestone Feb 16, 2024
@codendone codendone added the fix-released The fix has been in a release (experimental, preview, stable, or servicing). label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-AutoSuggestBox bug Something isn't working fix-released The fix has been in a release (experimental, preview, stable, or servicing). team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants