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

设置enableOutsideTouchableDissmiss为fasle时里面的点击事件没了??? #30

Open
iotxc opened this issue May 31, 2018 · 7 comments

Comments

@iotxc
Copy link

iotxc commented May 31, 2018

No description provided.

@anynew
Copy link

anynew commented Aug 22, 2018

我也遇到了popupWindow偏离屏幕右侧的按钮事件被消费了,把.enableOutsideTouchableDissmiss(false)注释掉就可以了,但是这样又不能实现点击pop外部不关闭pop的功能了,楼主写的6.0无效那块代码 感觉有问题

@rockfirm
Copy link

if ((event.getAction() == MotionEvent.ACTION_DOWN)
&& ((x < 0) || (x >= mPopupWindow.getContentView().getMeasuredWidth()) || (y < 0) || (y >= mPopupWindow.getContentView().getMeasuredHeight()))) {

@pinguo-zhouwei
Copy link
Owner

@githubxc @anynew 没问题啊 ,Demo里面有这个测试用例

@DeveloperHu
Copy link

@rockfirm 谢谢了老哥

@pengbs
Copy link

pengbs commented Jan 23, 2019

遇到了同样的问题,当pop里面内容很长时就无法点击pop里面的按钮了

@everyline
Copy link

我也遇到了 里面的控件不能点击 EditText 也获取不了焦点

@NewDirection
Copy link

设置.size(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.WRAP_CONTENT)以后,自定义布局就不能点击了.

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

8 participants