nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.15k stars 229 forks source link

MessageInputBar hides and reappears slowly when QLPreviewController is dismissed using the swipe gesture. #234

Open Zulqarnayn opened 2 years ago

Zulqarnayn commented 2 years ago

Describe the bug When QLPreviewController is dismissed using the swipe gesture, MessageInputBar hides and reappears slowly.

To Reproduce

  1. Tap on the keyboard
  2. Present a photo using QLPreviewController ( modalPresentationStyle = .fullScreen )
  3. dismiss QLPreviewController by swipe gesture
    func presentQLPreviewController() {
    let controller = QLPreviewController()
    controller.modalPresentationStyle = .fullScreen
    controller.dataSource = self
    self.present(controller, animated: true)
    }