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

沉浸式页面+DialogFragment创建多个PanelSwitchHelper问题 #214

Open
zxc120301945 opened this issue Sep 5, 2024 · 6 comments
Open

Comments

@zxc120301945
Copy link

沉浸式页面创建一个PanelSwitchHelper,配置了android11KeyboardFeature = true,然后DialogFragment也创建一个PanelSwitchHelper,配置了android11KeyboardFeature = true会出现问题。

keyboardChangedAnimation()这个方法创建的WindowInsetsAnimationCompat这个监听器会被覆盖,然后退出dialogFragment,DialogFragment设置的监听依然存在,导致获取的位置出现问题
6

7

@15359947959

This comment was marked as off-topic.

@zxc120301945
Copy link
Author

QQ.20240905130939.mp4

@zxc120301945
Copy link
Author

我尝试了退出dialogfragment然后把这个监听移除,然后回到activity重新设置一遍监听,但是不起作用了

@zxc120301945
Copy link
Author

版本号1.4.0以及之前的这个是好好的。然后我升级到了1.5.10发现这个问题

@zxc120301945
Copy link
Author

打开虚拟键盘和底部导航条这种情况特别明显

@HeroZ-Dodge
Copy link
Collaborator

你好,可以提供一下你的设备信息,以及沉浸式页面的设置方式吗,我尝试还原一下

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

3 participants