我也是这个问题,而且是必须的。白屏必须手动操作一下才可以
scroll-view滑动时,设置scroll-into-view这个属性会导致页面白屏下滑列表,然后点击输入框设置scroll-into-view后,页面白屏
04-25我也是这样,可以加scroll-with-animation="true"去解决。还有一个方法,就是v-if先隐藏然后显示。但是会闪一下,这两个方法都不是最优解。
scroll-view在真机上会滑动会白屏,但滑动一下就没了 ?<scroll-view show-scrollbar="{{false}}" scroll-into-view="{{scrollIntoViewId}}" class="{{virtualTenant?'companyContent':'ncompanyContent'}} " enable-passive scroll-y bindscroll="bindscroll" bindscrolltoupper="bindscrolltoupper" scroll-top="{{scrollTop}}"> <!-- 聊天内容 --> <view style="text-align: center;"> <van-loading wx:if="{{!isEmpty}}" color="#1989fa" /> </view> <!-- id="chatMessage" --> <!-- <chatMessage isRobot="{{!deliveryType}}" messageList="{{messageList}}" selectItem="{{selectItem}}" bindRobitTable="selectTable" bindartificial="artificial" /> --> <chatMessage id="{{'message'+item.header['Message-Timestamp']}}" wx:for="{{messageList}}" wx:key="index" isRobot="{{!deliveryType}}" messageIndex="{{index}}" item="{{item}}" selectItem="{{selectItem}}" bindRobitTable="selectTable" bindartificial="artificial" /> </scroll-view> 实现上拉加载的功能,现在功能实现了,开发工具滚动没问题,但是真机上就会滚动加载完 白一下 我滑动了 就好了[图片][图片][图片]
04-25