[英]“Fastclick.js” cause the cursor of “textarea” cann'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>
我已經添加了所有這些類
class="needsClick fs-16 bg-fff"
class="needsFocus fs-16 bg-fff"
class="noFastclick fs-16 bg-fff"
name="noFastclick"
但是所有這些都不起作用。
如何使“快速單擊”不影響文本區域???
fastclick查找的類是needsclick
,均為小寫。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.