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

qmui_outsideEdge 不应该作用在不可见的 UIView 上 #1434

Closed
MoLice opened this issue Aug 22, 2022 · 1 comment
Closed

qmui_outsideEdge 不应该作用在不可见的 UIView 上 #1434

MoLice opened this issue Aug 22, 2022 · 1 comment
Labels

Comments

@MoLice
Copy link
Collaborator

MoLice commented Aug 22, 2022

如何重现

  1. 为一个 frame.size 为 CGSizeZero,或 hidden = YES,或 alpha <= 0.01 的 UIView 设置 qmui_outsideEdge。
  2. 会发现该 view 错误地参与 hit-testing 过程。

预期的表现
不可见的 view 不应该因为设置了 qmui_outsideEdge 而变成可接受事件。

其他信息

  • QMUI 版本: 4.5.0
@MoLice MoLice added the bug label Aug 22, 2022
@MoLice
Copy link
Collaborator Author

MoLice commented Aug 25, 2022

已发布 4.5.1 修复该问题。

@MoLice MoLice closed this as completed Aug 25, 2022
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

1 participant