textarea父元素固定定位后 textarea文字内容得不到定位
发布于 5 年前 作者 houli 1138 次浏览 来自 问答

<view class=“input_”>

        <image src=“https://www.hrngj.cn/wx/img_post_img_pink.png”></image> 

        <textarea bindlinechange=“input_textarea” focus=“true”  maxlength=“0” value=“回复楼主” placeholder-style=“color:#888;” style=“height:{{textarea_height}}px;”/>       

        <button form-type=“submit”>发送</button>     

</view>

.input_{     //固定定位页面最下面

 position: fixed;

    left:0;

    bottom:0;

}

在电脑里面显示一切正常,在手机里面查看 滑动屏幕 textarea边框不动 固定在原有位置  输入内容随屏幕滑动而滑

1 回复

同遇到这个问题。。开发者工具没有问题,手机上看的时候就穿透了。

回到顶部