diff --git a/src/Linux/Avalonia.LinuxFramebuffer/LinuxFramebufferPlatform.cs b/src/Linux/Avalonia.LinuxFramebuffer/LinuxFramebufferPlatform.cs index 340d10517d..3c8d3b5e06 100644 --- a/src/Linux/Avalonia.LinuxFramebuffer/LinuxFramebufferPlatform.cs +++ b/src/Linux/Avalonia.LinuxFramebuffer/LinuxFramebufferPlatform.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Threading; using Avalonia.Controls; @@ -79,6 +79,11 @@ namespace Avalonia.LinuxFramebuffer tl.Prepare(); _topLevel = tl; _topLevel.Renderer.Start(); + + if (_topLevel is IFocusScope scope) + { + FocusManager.Instance?.SetFocusScope(scope); + } } _topLevel.Content = value;