fluentribbon / Fluent.Ribbon

WPF Ribbon control like in Office
http://fluentribbon.github.io
MIT License
2.54k stars 518 forks source link

Selected Tab on first render has a black border #1134

Closed robertmuehsig closed 1 year ago

robertmuehsig commented 1 year ago

Not sure if this counts as bug or feature, but the first impression is "weird". When you create a RibbonWindow with a selected tab, a black border appears around it:

image

To reproduce just press this button in your sample app: image

IMHO the black border makes sense for keyboard navigation (accessibility...), but in this case no keyboard navigation has happend and the ribbon is clearly selected anyway. After clicking around the border disappears.


Environment

Mark-yunshengLiu commented 11 months ago

RibbonTabItem set Focusable = "False" ,