Comments (2)
any solution for this one yet?
from zfdragablemodaltransition.
I have been able to work around this, it is not the best solution but if it is a must that you have a draggable card with date picker you can use it.
- create extension for UIView and override touchesbegan with the following code.
override open func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { super.touchesBegan(touches, with: event) if let touch = touches.first { if touch.view != nil && String(describing: touch.view!.classForCoder) == "UIPickerTableViewWrapperCell" { NotificationCenter.default.post(name: NSNotification.Name(rawValue: ViewNotifcations.datePickerTouchesBegan.rawValue), object: nil) } else { NotificationCenter.default.post(name: NSNotification.Name(rawValue: ViewNotifcations.datePickerTouchesEnded.rawValue), object: nil) } } }
and add listen to those 2 notification and allow the draggable action when it is not "UIPickerTableViewWrapperCell" and disable it when user touch "UIPickerTableViewWrapperCell".
so far this works fine for me. again not the best solution.
from zfdragablemodaltransition.
Related Issues (20)
- Dragging down and releasing modal overrides prefersStatusBarHidden HOT 4
- Getting a blank view controller when performing segue HOT 2
- how to make it only show half of the screen like the gif HOT 1
- Swift option HOT 1
- Demo crash: changing draggable switch
- Presenting a page view controller
- When transition can set setStatusBarStyle:UIStatusBarStyleLightContent?
- There has a few seconds delay when i dismissed ViewController
- How to detect and handle UIScrollView's over scroll at the top
- from view disappears HOT 1
- The modal view messes with the views of other view controllers upon dismissing HOT 1
- New Release?
- Animation glitches with differently locked orientations
- ios 11/xcode 9 beta issue: tableview contained in zfdraggablemodaltransition doesn't accept touch events HOT 2
- Prevent to close the modal when swipe down
- nvm
- Receive touches on controller that is behind the one being presented
- A present B, B push C ,the gesture have no effect
- Application hang when do dismissViewControllerAnimated:YES in iOS 13.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfdragablemodaltransition.