SwiftEntryKit
SwiftEntryKit copied to clipboard
EKAttributes Screen interaction "absorbTouches" blocks main window after dismiss in iOS 13.6
Describe the bug I'm using bottomFloat with EKAttributes.screenInteraction = .absorbTouches. In iOS 13.6, if the user swipe the entry down to dismiss, after the view disappears, the entire main window is blocked to touch. From my q.a it seems that the EKAttributes rootViewController is still on the screen and receives touches. In iOS 13.2 everything work as expected.
Expected behavior The entry window is dismissed and the the main window views receives touches.
Additional context
var attributes = EKAttributes.bottomFloat
attributes.displayMode = .inferred
attributes.displayDuration = .infinity
attributes.screenBackground = .color(color: EKColor.init(light: UIColor(white: 100.0/255.0, alpha: 0.3), dark: UIColor(white: 50.0/255.0, alpha: 0.3)))
attributes.entryBackground = .color(color: .white)
attributes.screenInteraction = .absorbTouches
// attributes.entryInteraction = .absorbTouches
//attributes.scroll = .enabled(swipeable: false, pullbackAnimation: .jolt)
//attributes.scroll = .edgeCrossingDisabled(swipeable: true)
attributes.scroll = .enabled(swipeable: true, pullbackAnimation: .jolt)
attributes.entranceAnimation = .init(
translate: .init(
duration: 0.5,
spring: .init(damping: 1, initialVelocity: 0)
)
)
attributes.exitAnimation = .init(
translate: .init(duration: 0.35)
)
attributes.popBehavior = .animated(
animation: .init(
translate: .init(duration: 0.35)
)
)
attributes.shadow = .active(
with: .init(
color: .black,
opacity: 0.3,
radius: 6
)
)
attributes.positionConstraints.size = .init(
width: .fill,
height: .ratio(value: 0.6)
)
attributes.positionConstraints.verticalOffset = 0
attributes.positionConstraints.safeArea = .overridden
attributes.statusBar = .dark
return attributes
@patzootz could you try out release 1.2.4
? Please see related changes under CHANGELOG
Hi Daniel, sorry for the late reply.
I've updated to 1.2.6 and it looks fixed.
Thank you so much for this wonderful library.
Kind regards
On Tue, Sep 1, 2020 at 12:58 PM Daniel Huri [email protected] wrote:
@patzootz https://github.com/patzootz could you try out release 1.2.4? Please see related changes under CHANGELOG https://github.com/huri000/SwiftEntryKit/blob/master/CHANGELOG.md#124
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/huri000/SwiftEntryKit/issues/297#issuecomment-684698928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5WCJHLDVES7OSA3NFJGJTSDTATZANCNFSM4P7O6DPQ .