ToDoList
ToDoList copied to clipboard
Can't change the cursor position by clicking the EditText or keyboard
The "Plus" animation is delightful and It is smooth to replace the EditText's cursor with the custom cursor. But the problem I find is that I can't change the cursor position by clicking the EditText or soft keyboard, and the actual input position has changed. I think it confuses users since input is important for a to-do list.
@yisizhu520 Hi! Thank you for this issue. Yes, it's really important to be able to manually change the cursor position. I'll implement it very soon. This feature will be included in the next version
Hello, @yisizhu520 The 1.0.1 version is available, please check it. Now you can move the cursor by clicking the EditText. Review the changelog for more details.
Yeah, the change is what I exactly need and better than my idea. I set the textCursorDrawable
attribute for the EditText:
android:textCursorDrawable="@drawable/ic_cursor_drawable"
And remove the mask view. It works but the cursor animation is not as smooth as origin custom cursor. Because the height of cursor depends on the text size of EditText and the left padding need be adjusted.
Learn a lot from the library. Thanks!
Hi @yisizhu520! Sorry for the delay in responding. I'll fix the issue very soon. Thanks a lot for your attention to my library