-
Notifications
You must be signed in to change notification settings - Fork 106
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
占位 widget 没有消失 #2
Comments
没太看明白,描述一下关键操作和关键代码 |
我把ComplexListOptExample1的ListView部分做了以下改动
就遇到了占位widget没有消失的问题 |
给 FrameSeparateWidget 嵌套透明度/位移等动画就正常了
|
嗯嗯 感谢反馈,这个问题能复现,我在晚上调试一下 |
itemBuilder: (c, i) => FrameSeparateWidget(
index: i,
placeHolder: Container(
color: Colors.white,
height: 60,
),
child: OpacityTansWidget(
child: CellWidget(
color: i % 2 == 0 ? Colors.red : Colors.blue,
index: i,
),
),
), 动画按照那种加法有效果么,应该是要包裹实际的 item |
如果包裹实际的 item,那就还是一样的占位 widget 没有消失。另外,修改某个item后,界面没有变化,必须滑动一下才会刷新,应该都是同一个原因。 |
恩 我打断点调试之后,发现任务队列的调度失败了。看起来这个 future 会影响到系统 endOfFrame 的回调,导致这个 Future 没法返回,所以没有正确的替换。 |
使 1.0.2 或者 2.0.2 版本试试 |
方便发一个使用后的录屏么 |
好的,待会我试试。 |
换成 2.0.2 版本就正常了,o( ̄▽ ̄)d赞! |
方便搞个录屏,搞个录屏么,兄die,直接传到这或者发我邮箱也成。我在做个合集,可以留一些你的推荐信息。 |
|
哇 多谢!有 QQ 咩,咱们细聊 |
我的是 762579473 |
使用fish_redux框架 使用版本 实现代码 操作视频: QtScrcpy_20210904_161800_478.mp4日志: |
项目有两种列表样式,当切换列表后,有时候FrameSeparateWidget的占位 widget 没有消失,必须滑动一下才会消失。
device-2021-07-01-095955.mp4
The text was updated successfully, but these errors were encountered: