Mobile Web - Disable long-touch/taphold text selection

后端 未结 3 898
轻奢々
轻奢々 2020-12-04 16:40

I\'ve seen/heard all about disabling text selection with the variations of user-select, but none of those are working for the problem I\'m having. On Android (a

3条回答
  •  眼角桃花
    2020-12-04 17:24

    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    

    This will disable it for every browser going.

提交回复
热议问题