Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-11-20 23:37:24 +04:00
parent 96629b3d37
commit 26b0b4021c
2 changed files with 11 additions and 1 deletions

View File

@@ -84,6 +84,9 @@ final class ActionSheetItemGroupsContainerNode: ASDisplayNode {
}
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
guard self.isUserInteractionEnabled else {
return nil
}
for groupNode in self.groupNodes {
if groupNode.frame.contains(point) {
return groupNode.hitTest(self.convert(point, to: groupNode), with: event)