You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to show Popup with TextView in it... When I open keyboard for TextView it jumps up the screen. I am using Compress presentation style... Corner radius also goes away... For searchbar it works fine...
Here is my code for Controller presentation:
let presenter: Presentr = {
let width = UIDevice.current.iPad ? ModalSize.fluid(percentage: 0.70) : ModalSize.sideMargin(value: 16)
let height = ModalSize.fluid(percentage: 0.80)
let center = ModalCenterPosition.customOrigin(origin: CGPoint(x: UIDevice.current.iPad ? (UIScreen.main.bounds.width/2)/4 : 16, y: (UIScreen.main.bounds.height/2)/4))
let customType = PresentationType.custom(width: width, height: height, center: center)
let customPresenter = Presentr(presentationType: customType)
customPresenter.roundCorners = true
customPresenter.backgroundColor = .black
customPresenter.backgroundOpacity = 0.5
customPresenter.dismissOnSwipe = true
customPresenter.keyboardTranslationType = .compress
customPresenter.dismissOnSwipeDirection = .bottom
return customPresenter
}()
Here is picture for issue :
The text was updated successfully, but these errors were encountered:
Hi, I am trying to show Popup with TextView in it... When I open keyboard for TextView it jumps up the screen. I am using Compress presentation style... Corner radius also goes away... For searchbar it works fine...
Here is my code for Controller presentation:
Here is picture for issue :
The text was updated successfully, but these errors were encountered: