获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
请问最后有解决办法吗?我也遇到了同样的问题。。。
textarea 在 fixed 弹框中无法自由选择文字实现 modal 弹框时加入禁止滚动穿透的措施后,ios 下的 textarea 中输入的文字无法进行自由选择。 代码片段如下: <view style="background-color:#efefef;position:fixed;left:0;right:0;bottom:0;top:0;width:100vw;height:100vh;z-index:1000;padding-top:380rpx;" catchtouchmove="handleTouchMove" > <textarea placeholder="输入文字" maxlength="200" fixed="{{true}}" adjust-position="{{false}}" style="background:#fff" /> </view> // js handleTouchMove(e) { if (e?.stopPropagation) { e.stopPropagation() } },
2024-11-12