小程序开发工具中鼠标滚动scroll-view黑屏
< scroll-view scroll-y enable-back-to-top = "true" style = "height:{{pageheight-50}}px;width:{{pagewidth}}px" > < view class = "scroll-view-item" style = "width:{{pagewidth}}px" > < block wx:for = "{{candidates}}" > < view >{{item}}</ view > </ block > </ view > </ scroll-view > |
scroll-view 组件的scroll-y类型在开发工具中模拟过程中,鼠标滚轴滚动到底部再继续滚动操作开发者工具会黑屏。黑屏后只能关闭软件重新打开。