No possibility to select text inside <input> when parent is draggable

后端 未结 4 1477
野趣味
野趣味 2021-01-17 10:59

This one is IE specific (not anymore, apparently). We have very simple code:

Text

4条回答
  •  礼貌的吻别
    2021-01-17 11:52

    What we observed, if we blur out and focus again the issue is resolved. However moving cursor position is still not accomplished. But at least does the trick for single click.

    $(document).on('mouseup', '#id input:text, textarea', function (event) {
       $(this).blur();       
       $(this).focus();
    });
    

提交回复
热议问题