SebastianBoldt / Jelly

🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
http://www.sebastianboldt.com/
MIT License
2.45k stars 121 forks source link

"isTapBackgroundToDismissEnabled" is no avaliable #30

Closed luziqin closed 7 years ago

luziqin commented 7 years ago

I set the property isTapBackgroundToDismissEnabled false, but seems to no effect Here is my code: var presentation = JellySlideInPresentation(cornerRadius: 5.0,widthForViewController: .custom(value: 300),heightForViewController:.custom(value: 260))

presentation.directionShow = .left presentation.directionDismiss = .right

presentation.isTapBackgroundToDismissEnabled = false

let animator = JellyAnimator(presentation: presentation) self.jellyAnimator = animator

let serviceTypeViewController = ServiceTypeViewController() self.jellyAnimator?.prepare(viewController: serviceTypeViewController) self.present(serviceTypeViewController, animated: true, completion: nil)

SebastianBoldt commented 7 years ago

Thanks for your Feedback. I will examine this Issue soon and try to keep you updated.

SebastianBoldt commented 7 years ago

Should be fixed in Version 1.2.1. You just need to pod update.