Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15051] iOS7: On modal close index window status bar space is removed and content is moved up

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-09-05T20:58:28.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sRelease 3.1.3
ComponentsiOS
LabelsiOS7
ReporterTristan Roscoe
AssigneeIngo Muschenetz
Created2013-09-05T17:10:08.000+0000
Updated2014-06-19T12:44:19.000+0000

Description

On modal close index window status bar space is removed and content is moved up.
<Alloy>
	<Window>
		<NavigationGroup platform="ios">
            <Window title="Home" backgroundColor="white">
            	<LeftNavButton>
			        <Button onClick="openAbout">About</Button>
			    </LeftNavButton>
            	<RightNavButton>
			        <Button onClick="openSettings">Settings</Button>
			    </RightNavButton>
            </Window>
        </NavigationGroup>
	</Window>
</Alloy>
$.index.open();

function openAbout(e) {
	var modal = Alloy.createController('about').getView();
    modal.open({modal:true});
}
<Alloy>
    <Window id="win" title="About" backgroundColor="white">
    	<LeftNavButton>
			<Button onClick="handleClick">Cancel</Button>
		</LeftNavButton>
	</Window>
</Alloy>
function handleClick(e) {
	$.win.close({animated:true});
}

Attachments

FileDateSize
Screen Shot 2013-09-05 at 1.09.31 PM.png2013-09-05T17:10:08.000+000058667
Screen Shot 2013-09-05 at 1.09.35 PM.png2013-09-05T17:10:08.000+000060899
Screen Shot 2013-09-05 at 1.09.37 PM.png2013-09-05T17:10:08.000+000062556

Comments

  1. Tristan Roscoe 2013-09-05

    This is happening in 3.1.2.GA not 3.1.3
  2. Ingo Muschenetz 2013-09-05

    [~troscoe] I'm unclear. If it's happening 3.1.3, then we will consider it "already fixed" as that is the iOS 7 release. Am I missing something?
  3. Tristan Roscoe 2013-09-05

  4. Ingo Muschenetz 2013-09-05

    Fixed by way of TIMOB-14622
  5. Anshu Mittal 2013-09-09

    Verified fixed with: SDK: 3.1.3.v20130908095038 Appcelertaor Studio: 3.1.3.201309072408 OS: OSX 10.8.4 Device: iPhone5(iOS7) Xcode: 5.0 DP6 titanium-code-processor@1.0.2 alloy@1.2.2 CLI version : 3.1.2

JSON Source