I can't type to inputs

前端 未结 3 1951
时光说笑
时光说笑 2021-01-12 06:32

I have a list which can be sortable. I\'m using jQuery UI with widget, mouse, position, sortable addons.

CSS:

#sortable{
    width : 550px;
    displ         


        
3条回答
  •  情歌与酒
    2021-01-12 06:46

    If would like to prevent text selection but continue to use inputs at the same time, you should try this

    $('body *').not(':has(input)').not('input').disableSelection();
    

提交回复
热议问题