Setting the selection bounds of a TextBox doesn’t properly “select” the text such that I can start typing to replace it. It looks like it at first, but it’s not.
In the video, I used CaptureFocus()
to bring attention to the TextBox. Shortly after, I’m assigning its SelectionStart
and CursorPosition
properties so that the selection encapsulates its contents. Typing into the TextBox should replace the selection like it normally would. In this case, it doesn’t, and acts as if I’m typing with no selection, and sets the cursor to the end of the string. Manually selecting by dragging or pressing Shift + A does work.
Here’s a quick repro place: repro.rbxl (19.8 KB)