Jumping cursor using contenteditable-Tag in web browser on Android 4.4.4
- create webview and add following html code
<p contenteditable="true">
Very long text
</p>
- Put long text in the p-tag to make it scrollable
- select the first line of text by clicking on the p-tag
- scoll down until the cursor is no longer visible
- try placing the cursor in the text by pressing
- the cursor will move to the wrong position
Tips:
-
This only happens on Android 4.4.4. On another OS, the cursor will move to the position you pressed
-
This problem only occurs when the cursor is outside the display. Everything works fine if the cursor remains visible after scrolling
Any ideas how to solve this problem?
+3
source to share
1 answer
Please take a look at this. You get some ideas.
http://developer.samsung.com/forum/board/thread/view.do?boardName=GeneralB&messageId=215282
-1
source to share