-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
发行方式
None
具体平台
系统版本:IOS 26.0
手机型号:任意苹果手机
开发环境
None
项目创建方式
CLI命令行
依赖版本
"@dcloudio/uni-h5": "^2.0.1-36420220922001"
问题描述
使用unicli搭建的项目,ios26版本中会出现scroll-view中内容不显示的问题,切后台在返回又显示。
7551680193099081232.MP4
重现步骤
<template>
<view class="page">
<scroll-view scroll-y class="scroller">
<view v-if="isShow">
<view class="box"></view>
</view>
</scroll-view>
</view>
</template>
<script>
export default {
data() {
return {
isShow: false
}
},
mounted() {
setTimeout(() => {
this.isShow = true
}, 800)
},
}
</script>
<style lang="scss" scoped>
.page {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
}
.scroller {
flex: 1;
height: 0;
overflow-y: scroll;
}
.box {
width: 100%;
height: 200px;
background-color: #f00;
}
</style>
期望行为
No response
实际行为
No response
截图或录屏
No response
Metadata
Metadata
Assignees
Labels
No labels