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
Latest version 1.9 swift 4.2 shows a white background by the navigation bar on a custom presentation that makes it look as if the navigation bar is taller by 100px.
Upon debugging it is revealed that the background is actually a transition passthrough view.
var filterPresenter: Presentr {
let fullHeight = UIScreen.main.bounds.height
let maxHeight = min(440, fullHeight)
let originY = max(0, fullHeight - maxHeight)
let width = ModalSize.full
let height = ModalSize.custom(size: Float(maxHeight))
let center: ModalCenterPosition = .customOrigin(origin: .init(x: 0, y: originY))
let customType = PresentationType.custom(width: width, height: height, center: center)
let customPresenter = Presentr(presentationType: customType)
customPresenter.transitionType = .coverVertical
customPresenter.dismissTransitionType = .coverVertical
customPresenter.dismissOnSwipe = false
return customPresenter
}
It's being presented using navigation controller like:
I am also having this same issue here when I use my NavigationController as rootviewcontroller. I guess there has been no updates to the repo for the past 2 years.
Latest version
1.9
swift 4.2 shows a white background by the navigation bar on a custom presentation that makes it look as if the navigation bar is taller by 100px.Upon debugging it is revealed that the background is actually a transition passthrough view.
It's being presented using navigation controller like:
The result looks like this:
Any idea?
The text was updated successfully, but these errors were encountered: