How to reproduce:
1. Open a project
2. Add a Text (TMP) GameObject (right click on the Hierarchy > UI > Text - TextMeshPro)
3. Select the “Text (TMP)” GameObject
4. In the Inspector, navigate to the TextField on the “TextMeshPro - Text(UI)” Component
5. Write text until the TextField can be scrolled
6. Scroll down in the TextField
7. Press on any part of the text inside the TextField
8. Observe the TextField
Expected result: Caret is placed on the clicked part of the text
Actual result: Caret is placed above the clicked part of the text
Reproducable with: 6000.0.57f1, 6000.2.1f1, 6000.3.0a5 (f9a1fab5607a)
Not reproducable with: 6000.0.59f1, 6000.2.7f1, 6000.3.0a4, 6000.3.0b4, 6000.4.0a1
Fixed in: 6000.0.58f1, 6000.2.2f1, 6000.3.0a6
Reproducible on: Windows 11 Pro (24H2)
Not reproducible on: No other environments tested
Note: The further you scroll down, the more the caret gets placed above the selected text, scrolling far enough down and selecting does not show the caret anymore because it is placed so high above