-
Notifications
You must be signed in to change notification settings - Fork 721
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
希望支持预加载 #41
Comments
另: 因为直接修改cacheExtent比较麻烦, 所以我现在用的解决办法是 设置Swiper的 |
Open
能缓存多个页面吗?我有4个页面不想每次都从新加载 |
Open
这样写,还是闪现了一瞬间的白色,你有没有根本解决方法哈? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在使用底层基于PageView的Swiper时, 由于默认PageView只加载一个页面导致Swiper翻页之后才开始构建新页面.
这通常会带来瞬间的闪烁, 即使是通过动画来过渡, 效果也并不理想.
如果能将 PageView 中
Viewport
的cacheExtent
属性注释掉就能够让PageView同时加载两个页面, 从而解决这个问题.希望作者能够留意这一问题, 最好能够加入允许提前缓存的机制. 感谢.
The text was updated successfully, but these errors were encountered: