material-components-android
material-components-android copied to clipboard
[Date picker] Text input mode: Cursor should be positioned at end of text field
trafficstars
Description: In version 1.9.0, when opening DatePicker with text input mode and a default selection, the cursor was positioned at the end:
Since version 1.10.0 it is positioned at the beginning;
Expected behavior: For usability, it is preferable to position cursor at the end, since in order to delete the default selection, user must now change cursor position first.
Minimal sample app repro: The issue can be reproduced with the Catalog app -> Date Picker. Set Default Selection to Today, and Input Mode to Text Input.
The problem seems to have been introduced with commit 4032a741127b4715c3bbcd4cab08494b39ae5bdb
Android API version: API 32
Material Library version: Since 1.10.0
Device: Emulator