slackhq / PanModal

An elegant and highly customizable presentation API for constructing bottom sheet modals on iOS.
MIT License
3.69k stars 533 forks source link

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

Open Zulqarnayn opened 3 years ago

Zulqarnayn commented 3 years ago

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 [ ])

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


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.

ivarunpatel commented 2 years ago

Did you find any workarounds for this?