-
Notifications
You must be signed in to change notification settings - Fork 602
在较新版本的 Vue 下使用,拖动滚动条会出现闪动 #72
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
Comments
这是什么原因呢?可以enhance哪里的代码? @tangbc |
It's due to the change of nextTick implementation in Vue 2.5 https://jsfiddle.net/llkho/j21tmq85/6/ The newer version is using Edit: In latest Vue version (2.5.21) at the current time, there are separated If the issue really matters, you can bypass Vue's Promise.resolve().then(() => this.$forceUpdate()) vue-virtual-scroll-list/index.js Lines 135 to 138 in 62b2435
and it will escape from the |
It's fixed in latest version. |
当组件在 Vue 高于 v2.5.0 (含 v2.5.0) 版本使用时,拖动滚动条时内容会出现闪动,拖动稍快时甚至会出现白屏,但使用 v2.4.4 及以下版本则无此问题。
可以参见 DEMO:https://jsfiddle.net/aisin/h6u2km1a/34/
The text was updated successfully, but these errors were encountered: