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

jQuery Mobile - Start with the pull thingy hidden #29

Open
gabaum10 opened this issue Apr 28, 2015 · 1 comment
Open

jQuery Mobile - Start with the pull thingy hidden #29

gabaum10 opened this issue Apr 28, 2015 · 1 comment

Comments

@gabaum10
Copy link

I've noticed in using the plugin in jQM, when you first visit a page with scrollz enabled, the pull to refresh header is visible for a brief moment before disappearing. No matter where I put the .scrollz('hidePullHeader', true) I still get a flicker. Is there anything we can do about that?

I suspect it has something to do with the way jQM initializes their scroll behavior or something.

@gabaum10
Copy link
Author

Also, I was able to hack something by setting the CSS margin-top of the wrapper container to `-137, which appears to be the height of the header. Then, once the initial data load is complete, I set it back to 0 to restore the proper behavior. I was hoping not to have to keep an ugly hack like that in though. Maybe you can include something like that in the plugin to accomodate the weird jQM behavior?

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

1 participant