Skip to content

Tabstop can't jump out ToolBar #11688

@ahdung

Description

@ahdung

Description

as title say.

Reproduction Steps

  1. create a wpf project (.net9.0-windows), .net framework no test
  2. make window xaml like this:
    <Window x:Class="MessageTip.WPF.Window1"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
            mc:Ignorable="d"
            Title="Window1" Height="199" Width="401">
      <StackPanel>
        <ToolBarTray>
          <ToolBar>
            <Button>test1</Button>
            <Button>test2</Button>
          </ToolBar>
        </ToolBarTray>
        <Button HorizontalAlignment="Left" Margin="10">other focusable control</Button>
      </StackPanel>
    </Window>
  3. build and try, you will meet this issue.

Expected behavior

tapstop work fine.

Actual behavior

tapstop not work fine.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Labels

AccessibilityAn issue related to accessibility enhancements or blockers.BugProduct bug (most likely)

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions