-
Notifications
You must be signed in to change notification settings - Fork 30
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
panelHeight() calcualte the contents 'margin-top' bug #46
Comments
panelHeight and panelWidth are both bummers.... hard to get right and slowing things down considerably. Adding to the confusing is the default padding Jquery Mobile is setting on pages, which most of the times ends up on wrapper and nested pages alike. Anyway... Let me check. Probably you are correct. |
I have the same problem with JQM 1.2.0. Looks like JQM doesn't adds 43px padding anymore. Do you think that is safe to remove the blacklist check from ct.css? |
I found out what's causing it. Whenever you have a fixed header/footer, JQM is adding a class of I fixed this for non-overthrow mode yesterday (not commited yet): Try adding this to your CSS:
and see if it works. |
I will try to update to JQM 1.2.0 sometimes end of next week. I need to have the current multiview version working while I'm testing on another project. |
No, it doesn't fix. I'm tring variants but nothing works as expected. |
This is such a pain in the a... If I'm spending time on mv, I'm always sitting over content height & width functions... |
Please take a look at this issue. Is really frustrating. |
there is some hope for overthrow ? I know that you're very busy, but I'm in troble with the iPad. |
ok. I'm on it. Let's see what I can do. |
Ok.Please try and add this to your CSS file:
This overwrites padding top/bottom on the Does this take care of your problem? The Sorry for taking so long... please let me know if this fixes your problem. If not I will have another look. Cheers |
I'm sorry but doesn't work. CSS are applied correctly to the div but the content is still shifted up. |
BTW, my problem is not related to scrollbars, panels are hidden by the topbar. Adding a top margin of 43px to the page container, is a workaround to fix the problem. But I can't undertand why you don't have this issue. On my app is present also in chrome. |
ok. I managed to reproduce now. I never understood what the problem really was. I think I have it fixed. Will commit today. |
Can you share a hint on how to fix it? |
first hint: I removed the footer, which also cleared the margin. It should also work if you don't set footers on nested pages to pos:fixed.
|
Thank you, but this is not my case because I have just one fixed footer on the main page. Other options? |
i use the JQM 1.2.0-rc2, and foud an issue in panelheight() function when calcualte the conents margin-top and margin-bottom:
in multiview.js line 1238:
when the blacklist is false, the margin-top and margin-bottom value is set to 0, infact ,it should be lclH and lclF.
is right?
The text was updated successfully, but these errors were encountered: