[英]“Fastclick.js” cause the cursor of “textarea” cann't be located in the text and select the text,Why?
Fastclick.js
cause the cursor of textarea
can't be located in the text and select the text,Why??? Fastclick.js
导致textarea
的光标不能位于文本中并选择文本,为什么?
<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
,均为小写。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.