sourcechord / FluentWPF

Fluent Design System for WPF.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tab issue with FluentWPF:Window

SlackingVeteran opened this issue · comments

When fw:AcrylicWindow is used, it tabbing through controls break. After reaching to last control, it takes additional 4 tabs to reach the 1st control. Seems like 3 tabs entries are focusing or highlighting something thats not visible? Probably due to some isTabStop? I have added video to show the difference between Window and fw:AcrylicWindow and how its affecting

tab.issue.mp4

Out of 3 tabs that didn't select anything I was able to remove 1 by adding isTabStop="False" to ContentControl in Window.xaml Still trying to see where else it needs to be added. It looks one of the tab is selecting the entire grid that contains the window, based on the border I can see around the entire window when hitting the tab

Okay, so I found all the missing isTabStop that caused in extra tabs which selected invisible ContentControls.
1st Tab: Removed by adding isTabStop="False" to customTitleBar ContentControl
2nd Tab: Removed by adding <Setter Property="IsTabStop" Value="False"/> to AcrylicContentControlStyle ContentControl
3rd Tab: Removed by adding IsTabStop="False" to ContentControl

Hi, @SlackingVeteran
Thanks for the information. I'll review it later 😃

Fixed by #138