m-pull-to-refresh icon indicating copy to clipboard operation
m-pull-to-refresh copied to clipboard

React Mobile Pull To Refresh

Results 36 m-pull-to-refresh issues
Sort by recently updated
recently updated
newest added

![136b1234-a1b5-4a1e-9299-09769a4d5071](https://user-images.githubusercontent.com/43085718/47139020-6f3ab280-d2ed-11e8-9f76-2e33833c3374.GIF) 我buzh不知道现在该如何处理这个问题

是否能告知能否初始化触发加载,我尝试refreshing初始化为true,但是没有发生变化

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.14.0 to 17.0.2. Release notes Sourced from react's releases. 17.0.2 (March 22, 2021) React DOM Remove an unused dependency to address the SharedArrayBuffer cross-origin isolation warning. (@koba04...

dependencies

Bumps [react-test-renderer](https://github.com/facebook/react/tree/HEAD/packages/react-test-renderer) from 15.7.0 to 17.0.2. Release notes Sourced from react-test-renderer's releases. 17.0.2 (March 22, 2021) React DOM Remove an unused dependency to address the SharedArrayBuffer cross-origin isolation warning. (@koba04...

dependencies

Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.14.0 to 17.0.2. Release notes Sourced from react-dom's releases. 17.0.2 (March 22, 2021) React DOM Remove an unused dependency to address the SharedArrayBuffer cross-origin isolation warning. (@koba04...

dependencies

### Reproduction link [![Edit remark-codesandbox demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/winter-rgb-bepf4?file=/src/App.js) ### Screenshots ![screenshots](https://user-images.githubusercontent.com/47069259/108653626-ea39b680-7501-11eb-9da9-053b02a84823.gif) 当更新 `refreshing` 状态小于1s时,就会出现此种状况。

issue: https://github.com/ant-design/ant-design-mobile/issues/3521

getScrollContainer不应该有默认函数,只要定义了该函数,就不需要额外渲染一个ScrollContainer了 如果用户返回一个ref,这个ref只会在ComponentDidMount时才不为undefined,导致进入了需要渲染ScrollContainer的分支,ref取到后,又进入了不需要渲染ScrollContainer的分支,这时children就被多创建了一次。 情景: * 引发了我这边一个数据问题,数据不对了; * 我这边的一些操作可能在children第一次被创建时就走过了,然后走了些异步逻辑,回来发现相关引用都变成新的了,由于二次创建又走了相关的周期覆盖了最开始的引用。这时多个异步流程链里,前面的拿的是第一次的引用,后面的拿的是第二次的引用,从而引发了一些潜在的bug 临时解法: ```js getScrollContainer={() => this.scrollViewRef || {}} ```