SFSafariViewController FormSheet vs. Dropdown Popovers Bug

Originator:fabian.ehrentraud
Number:rdar://26572652 Date Originated:01-Jun-2016 11:10 AM
Status:Open Resolved:
Product:iOS Product Version:9.3
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
When presenting SFSafariViewController in a FormSheet on iPad, the whole App hangs when clicking a <select> dropdown element

Steps to Reproduce:
* Present SFSafariViewController in a FormSheet on the iPad, and navigate to a page containing a <select> dropdown
* You can checkout this test project which does exactly that: https://github.com/fabb/SFSafariViewControllerFormSheetBug
* Click the dropdown
* Instead of showing a Popover for the dropdown options, like UIWebView does when presented in a FormSheet, the options to select from are displayed in the full view area of the FormSheet, even above the Done button and address bar.
* When clicking one of the options, the FormSheet contents disappear (apart from some table lines), and one is stuck in the whole app, as the FormSheet cannot be dismissed anymore.

Expected Results:
The dropdown options should be presented in a Popover, like in a UIWebView.

Actual Results:
User gets stuck and needs to force quit the App.

Regression:
Does not happen when showing SFSafariViewController FullScreen instead of FormSheet.

Comments

Resolved in iOS 10

By fabian.ehrentraud at July 11, 2016, 9:32 a.m. (reply...)

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!