Leanplum-iOS-SDK icon indicating copy to clipboard operation
Leanplum-iOS-SDK copied to clipboard

Nothing happen when trying to interact with underlaying view controller when LPWebInterstitial banner is presented

Open vlad-shostak opened this issue 3 years ago • 4 comments

Expected Behavior

Interact with underlaying view controller when LPWebInterstitial banner is presented.

Actual Behavior

Nothing happen when trying to interact with underlaying view controller when LPWebInterstitial banner is presented. The only way to unfreeze to dismiss banner using close button.

Steps to Reproduce the Problem

  1. Present LPWebInterstitialViewController not in full screen but as a banner.
  2. Try to interact with underlaying view controller.

Specifications

  • Version: 4.1.0. This bug appear in version 4.0.0. Previously was ok.
  • Platform: iOS 15.5.

https://user-images.githubusercontent.com/28777985/195603151-0a4cd23c-530d-4f5f-bbb0-eb10e36644cd.mp4

vlad-shostak avatar Oct 13 '22 13:10 vlad-shostak

Hi @vlad-shostak

Would it be possible to test using this branch?

nzagorchev avatar Oct 13 '22 21:10 nzagorchev

Hi @nzagorchev

I tried early to change modalPresentationStyle but it didn't help. And now I tried again and the bug still reproduce.

vlad-shostak avatar Oct 14 '22 06:10 vlad-shostak

The changes in the branch mimic the code used before 4.0.0.

Chronologically:

  • the modalPresentationStyle was changed together with other updates
  • I applied this fix #496 - the bug was no longer reproducing on our test applications, however, it seems it solved it only partially
  • I was able to reproduce it again yesterday with another sample app, hence the changes in the branch linked above - it presentOverVisible and uses overCurrentContext.

Using the above branch I no longer reproduce the issue on the sample apps we have. Let me know if it works with the linked branch, otherwise, we will need a sample application that reproduces the issue.

nzagorchev avatar Oct 14 '22 09:10 nzagorchev

FYI Branch is merged into master

nzagorchev avatar Oct 19 '22 11:10 nzagorchev