-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios端使用自定义的下拉刷新组件,在页面渲染的时候,会一瞬间闪烁显示一下那个下拉刷新组件然后恢复正常 #47
Comments
参考 #28 |
@listenzz ScreenRecording_11-05-2024.10-31-47_1.mp4就是订单页面进入的一瞬间,有一帧显示了那个下拉刷新组件,然后消失恢复正常 |
FlashList和RefreshHeader一起渲染,RefreshHeader的内容先出来了,可以用PlaceHolder盖在最上层,接口数据未返回时也要渲染FlashList,做好空数据处理 |
按理来说不是应该下拉才会显示refreshControl的内容吗?而且我也试过下拉组件写在flashList内部的refreshControl属性里,等数据返回才渲染refreshControl,也会出现闪烁现象 |
是的,按理说应该下拉才会显示。可现在现象不是,我用PlaceHoler挡住了这次的闪烁,暂时这么解决的 |
header 的 style 加个 以上方案不行 |
你好,我加了这个position: 'absolute'确实有效果,为什么说这个方案不行 |
嗯,配合 left,top,bottom 才行,移到不可见的地方。 |
No description provided.
The text was updated successfully, but these errors were encountered: