Skip to content

Commit 85921be

Browse files
committed
Fixes #1134
1 parent 6d2751a commit 85921be

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog for Fluent.Ribbon
22

3+
## 10.0.1
4+
5+
- ### Bug fixes
6+
7+
- [#1134](../../issues/1134) - Selected Tab on first render has a black border
8+
39
## 10.0.0
410

511
- ### Breaking changes

Fluent.Ribbon/Controls/RibbonTabControl.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,10 @@ public void SelectFirstTab()
867867
this.SelectedItem = this.GetFirstVisibleItem();
868868
}
869869

870-
this.SelectedTabItem?.Focus();
870+
if (this.IsKeyboardFocusWithin)
871+
{
872+
this.SelectedTabItem?.Focus();
873+
}
871874
}
872875

873876
// Handles IsMinimized changed

0 commit comments

Comments
 (0)