-
Version of antd-mobileall Operating system and its versionNo response Browser and its versionall Sandbox to reproducehttps://codesandbox.io/s/ke-kong-de-shai-xuan-he-pai-xu-antd-4-21-3-forked-fhwldg?file=/demo.js What happened?antd-mobile的InfiniteScroll 无限滚动碰到antd的table组件的scroll属性会触发无限滚动刷新,是否有办法规避? Relevant log output |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
看起来是一个组件用法上的疑问,我把它转成 discussion 吧 |
Beta Was this translation helpful? Give feedback.
-
你给的 |
Beta Was this translation helpful? Give feedback.
-
又改了下,可以看看这个 demo <Table
scroll={{ y: 450 }}
summary={() => (
<div>
<InfiniteScroll threshold={0} />
</div>
)}
/> 我目前看到 |
Beta Was this translation helpful? Give feedback.
又改了下,可以看看这个 demo
思路是想办法把
<InfiniteScroll />
放入<Table />
内的底部我目前看到
summary
比较合适或者有任何其他能让它置于表格最后一行的办法应该都可以。