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

滑动事件不生效是为什么 #67

Closed
TaiRan666 opened this issue Feb 10, 2023 · 3 comments
Closed

滑动事件不生效是为什么 #67

TaiRan666 opened this issue Feb 10, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@TaiRan666
Copy link

No description provided.

@Petterpx
Copy link
Owner

你好,你指的是setScrollListener()的监听器没生效,还是浮窗内部滑动事件不生效?如果是后者,是因为浮窗默认会消费事件,因为需要滑动。如果您内部的view需要事件,你可以在配置浮窗时调用 setEnableTouch(false),此方法将禁止浮窗拦截事件,事件遵循默认传递流程,相应的,此时浮窗也将无法滑动。

@TaiRan666
Copy link
Author

对的 我开启了也没有生效 可以滑动 但是事件触发打的日志都没开到 ! 其实最主要的问题是 它滑一下 就给其他的布局给盖住了
我可以加一下您的微信问问清楚嘛

@Petterpx
Copy link
Owner

对的 我开启了也没有生效 可以滑动 但是事件触发打的日志都没开到 ! 其实最主要的问题是 它滑一下 就给其他的布局给盖住了 我可以加一下您的微信问问清楚嘛

微信:Petterpx

@Petterpx Petterpx added the bug Something isn't working label Feb 11, 2023
@Petterpx Petterpx closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants