TextField focus and highlighting issues

When I click on a TextField, it will try to highlight the whole text instead of just placing the caret at the end. Also when the text is highlighted, only the first letter have a blue background.

I’m testing with runtime UI in Unity 2021.2b12

Update: I went back to test in a non-beta version (2021.1.21f1) and the bg highlight color is working fine (whole text can be highlighted in blue). But the highlight-the-text-on-focus is still happening. I feel that placing the caret at the end of text is a more sensible default.

Seems related to this thread: TextField selection highlight broken (2021.2.0b7)

1 Like