Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18330] iOS8: Popover is resized when an alert is opened

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2015-01-07T22:44:26.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-3.5.0, regression
ReporterEwan Harris
AssigneeJon Alter
Created2015-01-06T21:45:34.000+0000
Updated2017-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

FileDateSize
app.js2015-01-06T21:45:34.000+0000827
ExpandedPopover.PNG2015-01-06T21:45:34.000+0000137074
PopoverExample.zip2015-01-07T22:42:19.000+000067612
PopoverNormalSize.PNG2015-01-06T21:45:34.000+000070055

Comments

  1. Ingo Muschenetz 2015-01-06

    This appears to be a regression. Can you please review ASAP?
  2. Chee Kiat Ng 2015-01-07

    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.
  3. Jon Alter 2015-01-07

    We do not have control over the size of the popover. I am attaching a native example (PopoverExample.zip) showing this behavior. Vishal confirmed.
  4. Lee Morris 2017-03-14

    Closing ticket as the issue is not our bug.

JSON Source