Comments (4)
您好,请提供您在使用的 wdui 版本、相关代码,最好能附上 Demo。
请注意 scroller 组件当前版本只对 touch 事件组进行支持,对 PC 平台的 mouse 事件组响应支持不完善,用鼠标进行上下拉可能出现无效的情况,将在下个小版本添加兼容性。
from wdui.
您好,上拉不触发的问题解决了,是因为内容没充满container导致的,但是当用了v-if控制scroller显示隐藏,先隐藏再显示会导致无法上拉。 可以提供demo
from wdui.
@LoveEatChicken
scroller 若初始内容不足一屏,便不会激活上拉功能。
https://jsfiddle.net/1fy65aw9/
我自己写了个 demo,试验了 v-if 下的 scroller 表现应该是正常的,请提供您的 demo 供我参考
from wdui.
问题已经解决了,感谢您的回复
from wdui.
Related Issues (9)
- 有个小建议 HOT 1
- toast组件实例关闭选项配置
- 老铁,表单那些在开发中么? HOT 2
- Scroller 无限加载组件需支持水平滑动 HOT 1
- 如何在Scroller 中使用Lazyload
- 没有样式重置的文件 HOT 1
- picker组件当数据到底部时,仍然可以继续滑动? HOT 3
- supportWebp 方法导致某些浏览器闪现一个 "!" 符号
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdui.