-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# FAQ | ||
|
||
## The scrolling container monitoring does not take effect. Why the component always triggers "getData" or does not trigger "getData"? | ||
|
||
Please check whether `getScrollContainer` (specifies the scroll listening container) is used correctly. When this attribute value is not passed in, the scroll listening container is Window. If getData is always triggered at this time, please check whether the height: 100% style is set for the body. If so, remove it. When specifying a scroll listening container by yourself, the container should meet two conditions: the total height of the internal sub-elements > its own height, and the container itself is set to the "overflow: auto/scroll" style. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# FAQ | ||
|
||
## 滚动容器监听不生效,组件一直触发 getData 或不触发 getData? | ||
|
||
请检查`getScrollContainer`(指定滚动监听容器)是否正确使用。未传入该属性值时,滚动监听容器为 Window,如果此时出现一直触发 getData 的情况,请检查是否为 body 设置了 height: 100% 的样式,如有应去掉。自行指定滚动监听容器时,容器应满足2个条件:内部子元素总高 > 自身高度,且容器本身设置了 overflow: auto/scroll 的样式。 |