material-components-ios icon indicating copy to clipboard operation
material-components-ios copied to clipboard

Bug when changing rootViewController

Open red-beeard opened this issue 3 years ago • 0 comments

Reproduction steps

Steps to reproduce the behavior:

  1. Highlight view on screen
  2. Hide app
  3. In applicationDidEnterBackground change rootViewController
  4. Bring back the rootViewController in applicationWillEnterForeground

Expected behavior

MDCFeatureHighlightViewController will close like in iOS 15

Actual behavior

Only MDCFeatureHighlightViewController remains in the view hierarchy. If you close it, nothing is left on the screen.

Simulator Screen Recording - iPhone 5s - 2022-05-18 at 20 35 39

Simulator Screen Shot - iPhone 5s - 2022-05-18 at 20 41 53 Simulator Screen Shot - iPhone 5s - 2022-05-18 at 20 37 22

Снимок экрана 2022-05-18 в 20 37 01 Снимок экрана 2022-05-18 в 20 41 07

Platform (please complete the following information)

  • Device: iPhone 5 (Simulator)
  • OS: iOS 12.4

Additional context

To make it easy to reproduce the bug, I wrote an app and uploaded it to GitHub. https://github.com/red-beeard/Feature-Highlight-Bug.git

Presumably, the bug is reproduced on devices with iOS 12 and earlier.

red-beeard avatar May 18 '22 17:05 red-beeard