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

小程序的scroll-view组件的事件绑定不支持吗? #51

Closed
wuqiuyude opened this issue Mar 12, 2018 · 4 comments
Closed

小程序的scroll-view组件的事件绑定不支持吗? #51

wuqiuyude opened this issue Mar 12, 2018 · 4 comments

Comments

@wuqiuyude
Copy link

用小程序的scroll-view的bind事件,发现都没有用,已经修改为@scroll,@scrolltolower

@wuqiuyude
Copy link
Author

发现原因了,高度不能设置为100%

@ryan-hung
Copy link

@wuqiuyude 哥们你是怎么弄好的啊? 为何我给scroll-view设置了固定高度还是不行呢?

@czhaoli
Copy link

czhaoli commented Jul 31, 2018

@ryan-hung <div class="index-area" @scroll="scrollHandler" scroll-y> class设置固定高度,在div设置scroll-y就支持滚动了,和能够触发@scroll的回调方法

@SuperChrisliu
Copy link

SuperChrisliu commented Dec 29, 2018

<scroll-view :style="{ height: contentStyleHeight }" scroll-y @scrolltolower="fetch">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants