3***@qq.com
3***@qq.com
  • 发布:2020-12-03 15:21
  • 更新:2020-12-03 15:30
  • 阅读:378

【报Bug】 video 标签,底部如果有个input输入框,输入后,video会滑动,有时候会出现两个video重影

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 最新

HBuilderX类型: 正式

HBuilderX版本号: 2.9.11

手机系统: iOS

手机系统版本号: IOS 14

手机厂商: 苹果

手机机型: xr

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

<view class="videoBox">
<video id="myVideo" class="myVideo" src="http://www.wzbbh.top/1.mp4" enable-danmu danmu-btn :danmu-list="danmuList">
</video>
</view>

<view class="inpBox" :style="{'bottom':keyHei}">
<input type="text" placeholder="我来说两句..." v-model="inpTalk" :adjust-position="false" @confirm="confirm">
<view id="send" @click="send">
<view>{{sendInpText}}</view>
</view>
</view>

style :

.videoBox{
width: 100%;
height: 400rpx;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
color: white;
font-size: 28rpx;
.myVideo{
width: 750rpx;
height: 400rpx;
// object-fit: fill;
}
}

.inpBox{
width: 100%;
height: 100rpx;
background-color: #F5F5F5;
position: fixed;
// bottom: 0;
left: 0;
display: flex;
align-items: center;
padding: 0rpx 24rpx;
box-sizing: border-box;
justify-content: space-between;
input{
flex: 1;
height: 60rpx;
display: flex;
align-items: center;
font-size: 28rpx;
border-radius:32rpx;
padding-left: 24rpx;
background: white;
margin-right: 24rpx;
}
}
.inpBox image{
width: 40rpx;
height: 40rpx;
position: absolute;
right:36rpx;
top: 30rpx;
}

send{

    height: 52rpx;  
    display: flex;  
    justify-content: flex-end;  
}  
#send view{  
    width: 100rpx;  
    height: 52rpx;  
    background: #D0332A;  
    border-radius: 6rpx;  
    display: flex;  
    justify-content:center;  
    align-items: center;  
    color: white;  
    font-size:32rpx;  
}  

操作步骤:

video 标签,底部如果有个input输入框,输入后,video会滑动,有时候会出现两个video重影;

预期结果:

video 标签,底部如果有个input输入框,输入后,video会滑动,有时候会出现两个video重影;

实际结果:

video 标签,底部如果有个input输入框,输入后,video会滑动,有时候会出现两个video重影;

bug描述:

video 标签,底部如果有个input输入框,输入后,video会滑动,有时候会出现两个video重影;

设置bounce : none 禁止回弹,才不会这样

2020-12-03 15:21 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

该问题目前已经被锁定, 无法添加新回复