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

无限滚动问题 #2

Closed
mnotw opened this issue Jul 6, 2015 · 4 comments
Closed

无限滚动问题 #2

mnotw opened this issue Jul 6, 2015 · 4 comments

Comments

@mnotw
Copy link

mnotw commented Jul 6, 2015

有如下场景:
html是由模板引擎生成的,将此html内容(包含

元素)放进页面正常显示,但是并不会触发infinite事件

使用$.attachInfiniteScroll('.content')处理报错(Uncaught TypeError: Cannot read property 'on' of undefined)

先调用 $.refreshScroller()然后调用上述函数也会出现这个问题。

是因为content没有经过页面初始化的处理导致的吗?

如果是,msui有提供相关api进行处理这个问题吗?

是否有相关js api来手动初始化各个组件?

@mnotw
Copy link
Author

mnotw commented Jul 6, 2015

@lihongxun945 help please

@lihongxun945
Copy link
Collaborator

我试了是可以的,你加我旺旺吧,旺旺名 任行

@shenjianhua1985
Copy link

遇到相同的问题,使用demo都无法滚动

@bihongbin3027
Copy link

我的也无法滚动 后面我自己写了其它的js解决了 谁遇到这个问题:我使用了两个侧栏,按照文档的方法使用了data-panel='{panel的选择}'来指定具体打开哪一个侧栏,但是不起作用啊,根本不出来指定的侧栏,认识出现同一个侧栏。

@Mickey- Mickey- closed this as completed Oct 10, 2015
Mickey- pushed a commit that referenced this issue Jan 14, 2016
修复city-picker有默认值初始化时bug
Mickey- pushed a commit that referenced this issue Mar 15, 2016
update picker.js for fixing issue #403
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

5 participants