diff --git a/Mastodon/Scene/Report/ReportViewController.swift b/Mastodon/Scene/Report/ReportViewController.swift index b0c6ddcc..5e81ba13 100644 --- a/Mastodon/Scene/Report/ReportViewController.swift +++ b/Mastodon/Scene/Report/ReportViewController.swift @@ -222,10 +222,16 @@ class ReportViewController: UIViewController, NeedsDependency { let padding = contentFrame.maxY - endFrame.minY guard padding > 0 else { self.bottomConstraint.constant = 0.0 + UIView.animate(withDuration: 0.33) { + self.view.layoutIfNeeded() + } return } self.bottomConstraint.constant = padding + UIView.animate(withDuration: 0.33) { + self.view.layoutIfNeeded() + } }) .store(in: &disposeBag) }