Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5升级到3.2.16使用scroll-view设置scrollTop导致数据渲染错乱 #9860

Closed
lemonSll opened this issue Jul 22, 2021 · 4 comments
Closed
Labels
F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@lemonSll
Copy link

相关平台

H5

浏览器版本: 版本 91.0.4472.164(正式版本) (64 位)
使用框架: Vue 2

复现步骤

npm run dev:h5

期望结果

正常渲染数据

实际结果

没有按正常顺序渲染数据
image

环境信息

� Taro v3.2.16

isH5 false https://api-test.yunhzh.com

  Taro CLI 3.2.16 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD

补充信息

h5环境下升级3.2.16 使用scroll-view动态设置scrollTop会导致数据渲染错乱,但是console.log出来的数据是正常的

@taro-bot2 taro-bot2 bot added F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Jul 22, 2021
@lemonSll
Copy link
Author

image
回退到3.0.29以后就是正常的了

@tu6ge
Copy link
Contributor

tu6ge commented Aug 14, 2021

请提供一个简单的复现问题的代码,方便社区帮助你查看并定位问题

@conan0214
Copy link

请提供一个简单的复现问题的代码,方便社区帮助你查看并定位问题

就是使用scroll-view渲染横向日历,有个初始范围,再次更改范围后,第一次末位就会乱掉顺序,跑到最后一个。

@Chen-jj
Copy link
Contributor

Chen-jj commented Oct 28, 2021

应该和 #10365 是同一类问题

@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

5 participants