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

Commit

Permalink
fix(web): App/Page 生命周期中无法触发小程序生命周期问题
Browse files Browse the repository at this point in the history
fix #1689

Co-authored-by: wangjue <[email protected]>
  • Loading branch information
watsonhaw5566 and wangjue committed Sep 10, 2021
1 parent 556fedb commit 36feb4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/remax-web/src/PullToRefresh.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const RemaxPullToRefresh: React.FC<any> = props => {
return (
<PullToRefresh
{...props}
getScrollContainer={() => {
document.body;
}}
indicator={{
activate: <LoadingIcon />,
deactivate: <LoadingIcon />,
Expand Down

0 comments on commit 36feb4a

Please sign in to comment.