微信小程序dialog超出不滚动问题
有时候会碰到,微信小程序的dialog,里面的内容已经很长了,但是就是不会滚动,今天记录一下,亲测有效
<mp-half-screen-dialog extClass="modal">
<view slot="desc">
<view class="wrapper"></view>
</view>
</mp-half-screen-dialog>
.modal {
max-height: 1400rpx !important;
.weui-half-screen-dialog__bd {
height: 80vh;
overflow: auto;
.wrapper {
display: flex;
flex-direction: column;
}
}
}