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

Event doesn't fire when the statusbar is hidden and then shown #10

Open
camdagr8 opened this issue Oct 31, 2013 · 3 comments
Open

Event doesn't fire when the statusbar is hidden and then shown #10

camdagr8 opened this issue Oct 31, 2013 · 3 comments

Comments

@camdagr8
Copy link

I use a status bar plugin that hides/shows the status bar to fix iOS7 issues and this plugin doesn't work if the status bar is initially hidden. The fix for it however, is really simple.

In the .js file I replaced line 6 with the following:
setTimeout(function () { exec(null, null, "TapToScroll", "initListener",[]); }, 250);

This gives the status bar plugin time to show itself before initializing the tap plugin.

@j-mcnally
Copy link
Owner

O actually its easier than that on the objc side we use status bar layer
and positioning when we add our tap detection window we could just infer
that rather than wait for status bar

Sent from my iPhone

On Oct 31, 2013, at 6:25 PM, camdagr8 [email protected] wrote:

I use a statusbar plugin that hides/shows the status bar to fix iOS7 issues
and this plugin doesn't work if the statusbar is initially hidden. The fix
for it however, is really simple.

In the .js file I replaced line 6 with the following:
setTimeout(function () { exec(null, null, "TapToScroll",
"initListener",[]); }, 250);

This gives the statusbar plugin time to show itselfe before initializing
the tap plugin.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/10
.

@aderowbotham
Copy link

Any update on a proper fix for this? The JS setTimeout works but feels hacky.

@seanwash
Copy link

seanwash commented May 4, 2015

I've recently tried the setTimeout and that doesn't work for me anymore.

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

4 participants