u-dorpdown吸顶时引起的 gnored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted 错误 #551
Bug:
当u-dorpdown你组件吸顶时,移动端滑动会出现Ignored attempt to cancel a touchmove event with cancelable=false, for
example because scrolling is in progress and cannot be interrupted错误,
Bug: 当u-dorpdown你组件吸顶时,移动端滑动会出现Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted错误,
解决方案: 在u-dorpdown 中的open和close事件中重新计算 contentHeight 值,在关闭时,直接设置为0即可;
修改后的代码: