zqran

Results 20 comments of zqran

> 对于一次更新,在15中这2个是交错执行的,所以不能中断。 @BetaSu 请问,如何来验证 `交错执行` 呢?

In JSX you can use the `number` value as the value of the `top` or `left` style attribute. React takes care of translating it into the correct CSS style properties....

如果是解决方式2,可以稍等下,我正在跟进这个(#5608)issue~

> PullToRefresh 在触发 父组件render时 会导致 下拉框立即回弹 从直觉来说,这是合理的。父组件更新,子组件也应该跟着更新~ 所以,能不能描述下你的具体场景下要解决的实际问题是什么?或者如果可复现的话,给出一个复现的 demo:[codesandbox](https://codesandbox.io/s/antd-mobile-snrxr?file=/package.json) 或 [stackblitz](https://stackblitz.com/edit/antd-mobile?file=index.tsx)。这样,我们可以更好的帮你解决问题

这种问题,是不是只能在 安卓手机 上才能复现?

看了下,是因为 `InfiniteScroll` 组件中检查 `offsetParent` 值为 `null`,导致后面 loadMore 函数未调用导致的 https://github.com/ant-design/ant-design-mobile/blob/ea463ee9bb45b79f9767472a5cbdb24d45f5bdd8/src/components/infinite-scroll/infinite-scroll.tsx#L66 为什么 `offsetParent` 值为 `null`? 因为在 @sdwfqin 提供的复现代码中,为 `` 添加了 `forceRender` 属性,并且该 Tab 在初次渲染时处于非激活状态,所以,其内容被渲染且为隐藏,也就是 `display: none`。而 `display: none` 时,`offsetParent` 获取到的值为 `null`。 如何解决?...

@awmleer `startManualTask()` 这个方法,需要干什么? 要区分出手动加载数据吗?

@awmleer 可以再参考下 #5653 中 @mnm1001 的回复

> 要给 components/xx 下的组件页加个 className,然后现有的表格样式只针对这里生效。 请问,components/xx 下的组件,是在哪渲染到页面中的,我没找到入口~

APITable 是要实现什么样的功能?有需求吗? > APITable,可以试下用 antd 的 table 装下