With certain configurations, it's possible that during a popover dismissal the parent container also gets dismissed.
Originator: | steipete | ||
Number: | rdar://18512973 | Date Originated: | 01-Oct-2014 02:53 PM |
Status: | Closed | Resolved: | |
Product: | iOS | Product Version: | 8 |
Classification: | Serious Bug | Reproducible: | Always |
Peter Steinberger01-Oct-2014 02:53 PM Summary: With certain configurations, it's possible that during a popover dismissal the parent container also gets dismissed. Steps to Reproduce: 1. Open PopoverDismissalRegression, iPad iOS 8 2. Watch how the modal sheet appears and the popover. 3. Tap outside of the popover to dismiss it 4. Observe that the parent modal controller also disappears. 5. Try the same with iOS 7.1 and see that it works as expected. Expected Results: No dismissal of the parent view controller Actual Results: Parent vc is dismissed as a regression from iOS 7. Version: iOS 8 Notes: Configuration: iPad Simulator Attachments: 'PopoverDismissalRegression.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Fixed in iOS 10.
My workaround is to track the state: https://gist.github.com/steipete/b8d45ae44f9dd8c9c51f
Example: http://cl.ly/0h3o080j0D2c