text selectable 在安卓机上无效
发布于 6 年前 作者 haofang 15218 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

   动态设置 text的 selectable 在部分安卓机上vivo x7plus 、oppo r9m 无效,iphone上可以

  • 提供一个最简复现 Demo

<view  wx:if="{{cellItem.show_type==‘text’}}" class=“item-ans”>

<view class=“expertInfo”>

<view class=“title”>

<text hidden=’{{cellItem.is_require==“no”}}’ class=‘mustRed’>*</text>

<text>{{cellItem.column_alias}}</text>

</view>

</view>

<view class=“askBtn” ><text selectable="{{cellItem.action_type==‘copy’}}" bindtap="{{cellItem.action_type==‘call’?‘connectServerAction’:’’}}" id=’{{cellIndex+areaIndex*100}}’ >{{cellItem.value}}</text>{{cellItem.unit}}</view>

</view>

3 回复

还没解决这个问题,等了一年了,唉

华为荣耀V10 也不能选择

回到顶部