Skip to content
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

showConent之后 内容被隐藏了 #33

Open
zs1973 opened this issue Oct 11, 2023 · 12 comments
Open

showConent之后 内容被隐藏了 #33

zs1973 opened this issue Oct 11, 2023 · 12 comments

Comments

@zs1973
Copy link

zs1973 commented Oct 11, 2023

bug.mp4

运行的本框架的demo。

image
image
另外我用在项目中也是如此

my.mp4
@zs1973
Copy link
Author

zs1973 commented Oct 11, 2023

内容闪了一下又被隐藏了 不知道是什么原因

@liangjingkanji
Copy link
Owner

是最新的demo吗?

@zs1973
Copy link
Author

zs1973 commented Oct 11, 2023

是最新的demo吗?

是的

@JasonYinH
Copy link

@zs1973 咋处理了,找到问题了嘛

@zs1973
Copy link
Author

zs1973 commented Dec 25, 2023

@zs1973 咋处理了,找到问题了嘛

没处理 没用这个框架。 自己手动设置 view 的 visibility 处理的

@liangjingkanji
Copy link
Owner

@zs1973 咋处理了,找到问题了嘛

Fork仓库复现问题可以帮你解决

@xiangxiongfly
Copy link

@zs1973 咋处理了,找到问题了嘛

Fork仓库复现问题可以帮你解决

最新版还是存在这个bug

@SilverIceKey
Copy link

我刚刚也碰到了这个问题,我之前设置过stateChangedHandler = FadeStateChangedHandler(),然后会出现,删了就没有了,不知道是不是同样的问题

@liangjingkanji
Copy link
Owner

liangjingkanji commented Sep 13, 2024

工作比较忙无法复现该问题, 如果你们可以fork仓库复现问题我可以尝试解决

框架很简单, 你们也可以尝试debug排查

@xxs134211
Copy link

经过定位发现是FadeStateChangedHandler中的OnAdd方法中,view添加的animate监听的问题,在onRemove的时候添加了监听,直接移除当前页面,但是在add的时候没有设置监听,或者清空监听,导致在add视图的时候执行了remove中的监听。
解决办法:在OnAdd执行alpha动画之前清空监听,或者添加一个空的监听

@JasonYinH
Copy link

能不能出个例子

@xxs134211
Copy link

能不能出个例子

看我提的pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants