Skip to content

Commit

Permalink
发布2.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
junixapp committed Oct 11, 2022
1 parent 81c31e4 commit 4de517d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.xpopup_version = "2.9.1"
ext.xpopup_version = "2.9.2"
repositories {
google()
mavenCentral()
Expand Down
7 changes: 6 additions & 1 deletion library/src/main/java/com/lxj/xpopup/core/BasePopupView.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ public void onSoftInputChanged(int height) {
popupInfo.xPopupCallback.onKeyBoardStateChanged(BasePopupView.this, height);
}
if (height == 0) { // 说明输入法隐藏
XPopupUtils.moveDown(BasePopupView.this);
post(new Runnable() {
@Override
public void run() {
XPopupUtils.moveDown(BasePopupView.this);
}
});
hasMoveUp = false;
} else {
//when show keyboard, move up
Expand Down

0 comments on commit 4de517d

Please sign in to comment.