We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.1.1-rc.11
Chrome模拟iOS
For Android issues, please specify the brand, model and browser
<scroller height="-96" lock-x scrollbar-y> <div> <div v-for="src in list" style="background-color:yellow;text-align:center;"> <span style="font-size:20px;">Loading</span> <x-img :src="src" :webp-src="`${src}?type=webp`" @on-success="success" @on-error="error" class="ximg-demo" error-class="ximg-error" :offset="-100" container="#vux_view_box_body"></x-img> </div> </div> </scroller>
只要在XImg列表外加一层Scroller图片懒加载就不能正常工作,只有初始化列表的时候显示第一屏的图片,之后滚动到的图片都不显示,去掉Scroller则一切正常。
The text was updated successfully, but these errors were encountered:
27a3c3c
这里文档没有写,实现上比较 dirty,要把 scroller 传入 x-img。
https://github.com/airyland/vux/blob/v2/src/demos/XImgScroller.vue
Sorry, something went wrong.
No branches or pull requests
Version
2.1.1-rc.11
Android or iOS
Chrome模拟iOS
Your Codes
Expected behavior and actual behavior.
只要在XImg列表外加一层Scroller图片懒加载就不能正常工作,只有初始化列表的时候显示第一屏的图片,之后滚动到的图片都不显示,去掉Scroller则一切正常。
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: