diff --git a/Terminal.Gui/View/ViewSubViews.cs b/Terminal.Gui/View/ViewSubViews.cs index 2d84bfd45..6eea039f3 100644 --- a/Terminal.Gui/View/ViewSubViews.cs +++ b/Terminal.Gui/View/ViewSubViews.cs @@ -870,7 +870,7 @@ public partial class View /// Viewport-relative cursor position. Return to ensure the cursor is not visible. public virtual Point? PositionCursor () { - if (CanFocus && HasFocus && ContentSize.HasValue) + if (IsInitialized && CanFocus && HasFocus && ContentSize.HasValue) { // Base class will position the cursor at the end of the text. Point location = Viewport.Location;