WeUI组件中half-screen-dialog在开发工具中可以滚动,真机调试无法滚动?
想做一个半屏弹窗的选择功能,使用WeUI组件中的half-screen-dialog,在插槽中插入自定义组件panel panel超过高度实现滚动,在开发工具中可实现滚动,但在真机调试中无法滚动? <mp-half-screen-dialog
extClass="mp-half-screen-dialog"
bindbuttontap="handleToLogin"
show="{{show}}"
title="切换角色"
maskClosable="{{true}}">
<view slot="desc">
<view class="role-preview">
<i-role-preview role="{{selectedRole}}"></i-role-preview>
</view>
<view class="role-preview" wx:for="{{roleList}}"
wx:key="index"
wx:if="{{item.roleId!=selectedRole.role.roleId}}">
<i-role-preview role="{{item}}" selectedRoleId="{{selectedRole.role.roleId}}"></i-role-preview>
</view>
</view>
</mp-half-screen-dialog>