Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit 36feb4a

Browse files
watsonhaw5566wangjue
andauthored
fix(web): App/Page 生命周期中无法触发小程序生命周期问题
fix #1689 Co-authored-by: wangjue <348748267@qq.com>
1 parent 556fedb commit 36feb4a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/remax-web/src/PullToRefresh.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ const RemaxPullToRefresh: React.FC<any> = props => {
66
return (
77
<PullToRefresh
88
{...props}
9+
getScrollContainer={() => {
10+
document.body;
11+
}}
912
indicator={{
1013
activate: <LoadingIcon />,
1114
deactivate: <LoadingIcon />,

0 commit comments

Comments
 (0)