Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix statusBarStyle being reset to black after modal window has closed #56

Closed
FokkeZB opened this issue Feb 3, 2014 · 2 comments
Closed

Comments

@FokkeZB
Copy link
Contributor

FokkeZB commented Feb 3, 2014

Nice to have #13 fixed, but when you open a modal window and then close it, the statusBarStyle again is black. This means I still need to use the hack:

    // open drawer
    $.drawer.open();

    // WORKAROUND https://github.com/viezel/NappDrawer/issues/13
    if (OS_IOS) {
        Ti.UI.createWindow({
            backgroundColor: 'transparent',
            zIndex: 1000,
            touchEnabled: false
        }).open();
    }

Would be nice to have this fixed in a good way. What are you doing in creating the windows for nappdrawer that https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiWindowProxy.m doesn't?

@PlutonB
Copy link

PlutonB commented Sep 5, 2015

Any news on this issue? It's the same problem when using the function hideStatusBar() to hide the statusbar. As soon as a modal window has opened and close the statusbar is back. Plus I'm having trouble to avoid flickering of the statusbar when changing windows.

The optimal solution would of course be if NappDrawer could adhere to the settings for having the statusbar shown or hidden in TiApp.xml, but this is maybe not possible technically?

hansemannn added a commit that referenced this issue Jul 13, 2018
@hansemannn
Copy link
Collaborator

Fixed by #219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants