PanModal
PanModal copied to clipboard
Not working with IQKeyboardManager ?
Description
Describe your issue here.
What type of issue is this? (place an x
in one of the [ ]
)
- [ ] bug
- [ ] enhancement (feature request)
- [x] question
- [ ] documentation related
- [ ] testing related
- [ ] discussion
Requirements (place an x
in each of the [ ]
)
- [ ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [ ] I've read and agree to the Code of Conduct.
- [ ] I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
PanModal version: lastest
iOS version: iOS13
Hope support ~
Yes, I have the same issue
I hace the same issue
My solution was something like this
var longFormHeight: PanModalHeight {
if IQKeyboardManager.shared.keyboardShowing == true {
return .contentHeight(362.5+216+panModelExtraPadding)
}else{
return .contentHeight(362.5)
}
}
The panmodel extra padding is the touch position in a textfield for example that i get from a delegate 216 is the height of the Keyboard when it is presented 362.5 is the height of my view as the design from storyboard