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

popup抢占了焦点。 #506

Open
YourException opened this issue Mar 14, 2024 · 2 comments
Open

popup抢占了焦点。 #506

YourException opened this issue Mar 14, 2024 · 2 comments

Comments

@YourException
Copy link

YourException commented Mar 14, 2024

          popup抢占了焦点。

basepopu.getpopupwindow.setfocusable(false)试下

Originally posted by @razerdp in #179 (comment)

  • 系统版本(必须)/ System version (required):华为Mate 30 Pro
  • 库版本(必须)/ Library version (required):3.2.0
  • 问题代码/截图(可选)/ Problem code or screenshot (optional):无
  • 报错信息(可选)/ Error reporting information (optional):无

问题描述:
使用BasePopup做搜索列表:页面上有一个SearchView,搜索后弹窗显示搜索结果。弹出搜索结果后,再次点击搜索框,软键盘无法弹出。
尝试上方的方法:basepopu.getpopupwindow.setfocusable(false),还是没有效果。

@developerzjy
Copy link

遇到了类似的问题,界面内使用BasePopup做了一个tip提示UI,结果界面内的输入框无法弹窗键盘了

@Huping95
Copy link

Huping95 commented Jun 26, 2024

同样的问题,搜索了所有关于焦点的issues ,都没法解决,包含setFocusable(false),setFitSize(true)等等,机型小米9SE,包括Demo的Issue测试页面里的224楼,在我手机上都一样,只要Popup处于显示状态,EditText就获取不到焦点

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