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

vivoX60系统为Android13手势返回没屏蔽掉 #1214

Open
matianbo12345 opened this issue May 9, 2024 · 2 comments
Open

vivoX60系统为Android13手势返回没屏蔽掉 #1214

matianbo12345 opened this issue May 9, 2024 · 2 comments

Comments

@matianbo12345
Copy link

basePopupView = new XPopup.Builder(getContext())
.dismissOnBackPressed(false) // 按返回键是否关闭弹窗,默认为true
.dismissOnTouchOutside(false) // 点击外部是否关闭弹窗,默认为true
.asCustom(customPopupResult)
.show();
已经设定了禁止返回按键消失,还是能够从侧边返回导致xpop消失

@matianbo12345
Copy link
Author

implementation ('com.github.li-xiaojun:XPopup:2.10.0'){
exclude group: "com.davemorrissey.labs", module: "subsampling-scale-image-view-androidx"
}版本为这个

@LongZhouHeng
Copy link

<application
android:enableOnBackInvokedCallback="true",如果这样启用了,新版本也是没用的,直接关掉这个开关,会直接向下兼容

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

2 participants