when I select the text in Android WebView by selectAllChildren(node) or selection.addRange(range) in javascript. The cursor diappeared.
In IOS WKWebView, it is normal.
Here is my code and bug's image.
How can I show the cursor? Thanks.
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
一个大大是发<span>国庆节过去了</span>点点滴滴杀杀杀
<script>
window.getSelection().selectAllChildren(document.getElementsByTagName('span')[0]);
</script>
</body>
</html>