diff --git a/Source/Engine/UI/GUI/Common/TextBoxBase.cs b/Source/Engine/UI/GUI/Common/TextBoxBase.cs index 55f810211..211ec68b7 100644 --- a/Source/Engine/UI/GUI/Common/TextBoxBase.cs +++ b/Source/Engine/UI/GUI/Common/TextBoxBase.cs @@ -742,7 +742,7 @@ namespace FlaxEngine.GUI { SetSelection(SelectionRight); } - else if (SelectionRight < TextLength) + else if (SelectionRight < TextLength || (_selectionEnd < _selectionStart && _selectionStart == TextLength)) { int position; if (ctrl)