Skip to content

Commit ab2239d

Browse files
committed
fix use view that trigger dismiss can still drag issue.
1 parent 90534cc commit ab2239d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

HWPanModal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'HWPanModal'
11-
s.version = '0.8.8'
11+
s.version = '0.8.9'
1212
s.summary = 'HWPanModal is used to present controller and drag to dismiss.'
1313

1414
# This description is used to generate tags and improve search results.

Sources/View/PanModal/HWPanModalContainerView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ - (PresentationState)getCurrentPresentationState {
360360
}
361361

362362
- (void)dismiss:(BOOL)isInteractive mode:(PanModalInteractiveMode)mode {
363+
self.handler.panGestureRecognizer.enabled = NO;
363364

364365
[[self presentable] panModalWillDismiss];
365366

0 commit comments

Comments
 (0)