PanModal icon indicating copy to clipboard operation
PanModal copied to clipboard

viewWillAppear of the parent ViewController not called when QLPreviewController is presented using PanModal

Open Zulqarnayn opened this issue 3 years ago • 1 comments

Description

viewWillAppear of the parent ViewController is not called when child ViewController presents QLPreviewController using PanModal.

What type of issue is this? (place an x in one of the [ ])

  • [x] bug
  • [ ] enhancement (feature request)
  • [ ] question
  • [ ] documentation related
  • [ ] testing related
  • [ ] discussion

Requirements (place an x in each of the [ ])

  • [ ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [x] I've read and agree to the Code of Conduct.
  • [ ] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

PanModal version: (1.2.7)

iOS version: 14.4

Steps to reproduce:

  1. Take a ViewController
  2. Navigate to another ViewController
  3. Present a file by QLPreviewController using PanModal
  4. Dismiss it
  5. pop the current view controller

Expected result:

viewWillAppear should be called

Actual result:

didn't get any call in the viewWillAppear method

Attachments:

Logs, screenshots, screencast, sample project, funny gif, etc.

Zulqarnayn avatar Nov 03 '21 09:11 Zulqarnayn