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