scroll-view中设置fixed定位元素

发布于 6 年前作者 kongmin13404 次浏览最后编辑 6 年前来自 ask

触发条件

  1. scroll-view中有元素设置position:fixed 

  2. 业务需求需要用户点击改变scrollTop

  3. 设置滚动动画scroll-with-animation=“true”

结果

造成scrollTop改变过程中flxed元素消失

关掉滚动动画则正常

苹果7 pro 测试

2 回复
guiying32
guiying321 楼6 年前

麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

lcheng
lcheng2 楼4 年前

有解决吗  我也遇到了这样的问题