Moving the cursor via the drop shaped dot/object below the cursor in the middle of text and adding/removing character there is not working

This issue has been tracked since 2022-02-07.

Simple-keyboard version
3.4.37

Describe the bug
Steps to reproduce:

  1. Write text using the simple keyboard
  2. Tap on the input field, so that the cursor and drop shaped object below it are visible at the end of the text
  3. Drag the cursor via the tear shaped object somewhere in the middle of the of the text and try to add or remove character there

Expected result: Should be able to edit in the middle of the text

Actual result: the newly added or removed characters are at the end of the inputed text

This is happening only on devices where tapping in the input field shows the cursor and the drop shaped object below it like mobile devices and devices using electron. On PC it is not reproducible.

Screenshots
Video - https://drive.google.com/file/d/10BflpUrbEJi6XxH91vwtbtAoaLDVaRb5/view

hodgef wrote this answer on 2022-02-07

Hello @gilroh,

Check out this comment #54 (comment). It links to a test sandbox that you can use to see if an event is fired when you drop the pin.

cnr5

If no event is fired when you drop the pin, there's sadly nothing I can do since I rely on event.target.selectionStart.
If you see the "selectionStart" changing as you drop the pin, let me know and I will dig deeper into it.

Regards,
Francisco Hodge

More Details About Repo
Owner Name hodgef
Repo Name simple-keyboard
Full Name hodgef/simple-keyboard
Language JavaScript
Created Date 2018-03-02
Updated Date 2022-12-02
Star Count 1737
Watcher Count 20
Fork Count 130
Issue Count 0

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date