diff --git a/Display/ListView.swift b/Display/ListView.swift index 63fa283..2150cd1 100644 --- a/Display/ListView.swift +++ b/Display/ListView.swift @@ -3563,6 +3563,14 @@ open class ListView: ASDisplayNode, UIScrollViewAccessibilityDelegate, UIGesture self.checkItemReordering() } + + public func dismissAllRevealOptions() { + for i in 0 ..< self.itemNodes.count { + if self.itemNodes[i].preventsTouchesToOtherItems { + self.itemNodes[i].touchesToOtherItemsPrevented() + } + } + } override open func touchesBegan(_ touches: Set, with event: UIEvent?) { let touchesPosition = touches.first!.location(in: self.view)