Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.05k stars 1.37k forks source link

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

Closed MoLice closed 1 year ago

MoLice commented 1 year ago

如何重现

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

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

其他信息

MoLice commented 1 year ago

已发布 4.5.1 修复该问题。