开发者

disable block selection in uIWebview

开发者 https://www.devze.com 2023-02-14 20:38 出处:网络
sometimes in a webview , a user has to catch partial selection in a para. I am trying to do a partial selectio开发者_高级运维n, but instead it selects the entire para with that blue box. Is there a wa

sometimes in a webview , a user has to catch partial selection in a para. I am trying to do a partial selectio开发者_高级运维n, but instead it selects the entire para with that blue box. Is there a way to get around this ?

Regards Harikant Jammi


Try to change the paragraph css property display to inline-block. This allows partial text select, but can break the layout, so isn't a solution for all cases.

P {
    display:inline-block;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号