Fastclick.js
cause the cursor of textarea
can't be located in the text and select the text,Why???
<textarea placeholder="<?= $ret['reply'] ? '' : '分享新观点'; ?>" id="comment-content" class="fs-16 bg-fff" oninput="chkInput()" onpropertychange="chkInput()">
<?= isset($ret['topic']) ? $ret['topic'] : "" ?><?= $ret['content']; ?>
</textarea>
I have added all these classes
class="needsClick fs-16 bg-fff"
class="needsFocus fs-16 bg-fff"
class="noFastclick fs-16 bg-fff"
name="noFastclick"
But all these doesn't work.
How to make "fast click" not affect the textarea???
fastclick查找的类是needsclick
,均为小写。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.