-
Notifications
You must be signed in to change notification settings - Fork 284
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
沉浸式页面+DialogFragment创建多个PanelSwitchHelper问题 #214
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
QQ.20240905130939.mp4 |
我尝试了退出dialogfragment然后把这个监听移除,然后回到activity重新设置一遍监听,但是不起作用了 |
版本号1.4.0以及之前的这个是好好的。然后我升级到了1.5.10发现这个问题 |
打开虚拟键盘和底部导航条这种情况特别明显 |
你好,可以提供一下你的设备信息,以及沉浸式页面的设置方式吗,我尝试还原一下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
沉浸式页面创建一个PanelSwitchHelper,配置了android11KeyboardFeature = true,然后DialogFragment也创建一个PanelSwitchHelper,配置了android11KeyboardFeature = true会出现问题。
keyboardChangedAnimation()这个方法创建的WindowInsetsAnimationCompat这个监听器会被覆盖,然后退出dialogFragment,DialogFragment设置的监听依然存在,导致获取的位置出现问题
The text was updated successfully, but these errors were encountered: