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

EditText焦点问题 #481

Open
liangfengxixi opened this issue Nov 14, 2022 · 17 comments
Open

EditText焦点问题 #481

liangfengxixi opened this issue Nov 14, 2022 · 17 comments
Labels

Comments

@liangfengxixi
Copy link

  • 系统版本(必须)/ System version (required):8.1
  • 库版本(必须)/ Library version (required):3.2.0

EditText输入触发pop弹窗时,pop会抢占焦点,导致EditText没法输入值

@zhupengxiang
Copy link

同求解决办法

@razerdp
Copy link
Owner

razerdp commented Dec 28, 2022

这个问题跟键盘弹起消失再弹起一样的问题,后面我关注一下

@razerdp razerdp added the bug label Dec 28, 2022
@xiaomiaos
Copy link

请问这个问题什么时候解决呀。挺急的

@yuntongzhong
Copy link

遇到了同样的问题,有解决方法吗?

@zhupengxiang
Copy link

@liangfengxixi @whokill @yuntongzhong 请问这个问题有解决办法吗

1 similar comment
@zhupengxiang
Copy link

@liangfengxixi @whokill @yuntongzhong 请问这个问题有解决办法吗

@yuntongzhong
Copy link

@zhupengxiang 我是继承AppCompatDialog新写了一个view去实现的

@zhupengxiang
Copy link

这种能像pop那样控制位置?不好搞吧

@liangfengxixi
Copy link
Author

@zhupengxiang 我是自定义了一个PopupWindow,里面放recyclerView实现,没用这个控件

@zhupengxiang
Copy link

@liangfengxixi 了解了 感谢

@razerdp
Copy link
Owner

razerdp commented May 20, 2023

这个问题找到现在我都还没有突破点,所以一直拖着了。

@AweiLoveAndroid
Copy link

@liangfengxixi 建议点击EdiText弹出DialogFragment,BottomSheetDialog或者BottomSheetDialogFragment,而不是用popupwindow,这样就解决了问题。

@StarAndRainbow
Copy link

关注关注,同样遇到了

@razerdp
Copy link
Owner

razerdp commented Jun 8, 2023

目前basepopup是采取显示前not focusable,显示后才根据配置决定是否focusable,在之前是可以的,可能后面有不行了。。好蛋疼

@RumbleTsc
Copy link

+1 同遇到此问题

@932707629
Copy link

+1

@Zeng-Ke
Copy link

Zeng-Ke commented Jan 12, 2024

在PopWIndoq的构造方法后加getPopupWindow.setFocusable(false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants