Skip to content

Commit

Permalink
🐛 Ensure modal swipe to dismiss isn’t always enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaatttt committed Sep 30, 2024
1 parent 20cb81a commit 5dd8595
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ internal class AppcuesSkippableTrait: AppcuesContainerDecoratingTrait, AppcuesBa
self.view = closeButton
}

// Allow interactive dismissal
containerController.isModalInPresentation = false
// Allow interactive dismissal if the backdrop is configured to be dismissable
containerController.isModalInPresentation = ignoreBackdropTap
}

func undecorate(containerController: AppcuesExperienceContainerViewController) throws {
Expand Down

0 comments on commit 5dd8595

Please sign in to comment.