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

CommandBar focus is not rendered correctly #19402

Open
MartinZikmund opened this issue Jan 31, 2025 · 0 comments
Open

CommandBar focus is not rendered correctly #19402

MartinZikmund opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
area/commandbar Categorizes an issue or PR as relevant to CommandBar area/focus Categorizes an issue as relevant to focus management kind/bug Something isn't working

Comments

@MartinZikmund
Copy link
Member

MartinZikmund commented Jan 31, 2025

Current behavior

Issue 1
Focus is incorrectly rendered (cropped):

image

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

<CommandBar Grid.Row="0" HorizontalAlignment="Left"
            Background="Transparent" IsOpen="False" DefaultLabelPosition="Right">
    <AppBarButton Label="File" Icon="Folder">
        <AppBarButton.Flyout>
            <MenuFlyout Placement="Bottom" >
                <MenuFlyoutItem Text="Connect" />
                <MenuFlyoutItem Text="Disconnect" />
                <MenuFlyoutSeparator />
                <MenuFlyoutItem Text="New" />
                <MenuFlyoutItem Text="Open" Icon="OpenFile" />
                <MenuFlyoutItem Text="Save" Icon="Save">
                    <MenuFlyoutItem.KeyboardAccelerators>
                        <KeyboardAccelerator Modifiers="Control" Key="S" />
                    </MenuFlyoutItem.KeyboardAccelerators>
                </MenuFlyoutItem>
            </MenuFlyout>
        </AppBarButton.Flyout>
    </AppBarButton>
    <CommandBar.SecondaryCommands>
        <AppBarButton Icon="Setting" Label="Settings">
            <AppBarButton.KeyboardAccelerators>
                <KeyboardAccelerator Modifiers="Control" Key="I" />
            </AppBarButton.KeyboardAccelerators>
        </AppBarButton>
    </CommandBar.SecondaryCommands>
</CommandBar>

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@MartinZikmund MartinZikmund added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Jan 31, 2025
@MartinZikmund MartinZikmund self-assigned this Jan 31, 2025
@MartinZikmund MartinZikmund added area/commandbar Categorizes an issue or PR as relevant to CommandBar area/focus Categorizes an issue as relevant to focus management and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/commandbar Categorizes an issue or PR as relevant to CommandBar area/focus Categorizes an issue as relevant to focus management kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant