gyf-dev / gyf-dev/ImmersionBar

ViewPager(垂直)+Fragment时,Fragment底部输入框问题

Open
#477 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.5k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

1.ViewPager(垂直)+Fragment时,Fragment底部有输入框
2.只有第一个Fragment底部的输入能被键盘撑起而不被挡住,第二个后的Fragment的输入就没法被键盘撑起了,直接被键盘挡着了
代码如下(不管在Activity还是Fragment设置都没用):
ImmersionBar.with(this).init()

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the issue with a vertical ViewPager containing multiple Fragments, each with a bottom input, and the configuration shown in ImmersionBar.with(this).init(). Compare keyboard adjustment for the first and later Fragments. Done means bottom inputs in every Fragment remain visible when the keyboard opens, with behavior verified on the affected Android setup.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.