Closed cexoso closed 6 years ago
at react 15.6.2, ref will be called with params null. And this will Caused another branch render in PullToRefresh。
like: if (getScrollContainer()) { return renderRefresh(${prefixCls}-content ${prefixCls}-${direction}); } return ( <div ref={el => this.containerRef = el} className={classNames(className, prefixCls, ${prefixCls}-${direction})} {...restProps}
${prefixCls}-content ${prefixCls}-${direction}
${prefixCls}-${direction}
{renderRefresh(${prefixCls}-content)}
${prefixCls}-content
finally prevent pullDown in special case。
at react 15.6.2, ref will be called with params null. And this will Caused another branch render in PullToRefresh。
like: if (getScrollContainer()) { return renderRefresh(
${prefixCls}-content ${prefixCls}-${direction}
); } return ( <div ref={el => this.containerRef = el} className={classNames(className, prefixCls,${prefixCls}-${direction}
)} {...restProps}finally prevent pullDown in special case。