[TIMOB-18330] iOS8: Popover is resized when an alert is opened
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2015-01-07T22:44:26.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-3.5.0, regression |
Reporter | Ewan Harris |
Assignee | Jon Alter |
Created | 2015-01-06T21:45:34.000+0000 |
Updated | 2017-03-14T05:02:31.000+0000 |
Description
Description
When an alert is opened from within a popover, while the alert is shown on screen the size of the popover expands. After dismissing the alert the popover then shrinks to the normal size. The contents within the popover do not expand however, there just appears to be a white border around the popover.
This *is a regression* as when the same code is used with 3.4.1.GA SDK, the popover stays the same size.
This *only occurs* on iOS8, when using iOS7 the popover stays the same size
Steps To Reproduce
1. Using the attached app.js build to an iPad
2. Tap 'Open Popover'
3. Tap 'Robin' in the upper right of the popover
Actual Result
When the alert is shown the popover expands
Expected Result
The popover should not be resized
Attachments
This appears to be a regression. Can you please review ASAP?
This is likely due to iOS8 refactor of alertDialog as well as popover. Below is a link to a similar problem and the proposed solutions: http://stackoverflow.com/questions/25805608/present-a-uialertcontroller-from-within-a-popover-in-ios8 Will continue exploring if there's a solution without having to change the behavior, since it only happens in this particular scenario of an alert over a popover.
We do not have control over the size of the popover. I am attaching a native example (PopoverExample.zip) showing this behavior. Vishal confirmed.
Closing ticket as the issue is not our bug.