Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#214 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
mobile

Research direction

Start by reproducing the issue with one PanelSwitchHelper in the immersive page and another in DialogFragment, both using android11KeyboardFeature. Trace keyboardChangedAnimation() and its WindowInsetsAnimationCompat listener through DialogFragment dismissal; done means the dismissed dialog no longer leaves a listener that produces incorrect positions.

Written by the indexing model from the issue text.

Description

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

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

7

Dominant language
Java
Stars
2.4k
Forks
288
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DSAppTeam/PanelSwitchHelper

All issues in DSAppTeam/PanelSwitchHelper

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.