diff --git a/MBPullDownController/MBPullDownController.m b/MBPullDownController/MBPullDownController.m index 00a2561..8ae2926 100644 --- a/MBPullDownController/MBPullDownController.m +++ b/MBPullDownController/MBPullDownController.m @@ -288,7 +288,7 @@ - (void)checkOpenCloseConstraints { if (enabled && offset.y > self.closeDragOffset - self.view.bounds.size.height + self.openBottomOffset) { [self setOpen:NO animated:YES]; } else { - [self setOpen:YES animated:YES]; + [self setOpen:(abs(offset.y) == (int)[self scrollView].bounds.size.height - self.openBottomOffset) ? NO : YES animated:YES]; } } }