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

Ipad centering issues #25

Open
CFPro opened this issue Apr 5, 2013 · 2 comments
Open

Ipad centering issues #25

CFPro opened this issue Apr 5, 2013 · 2 comments

Comments

@CFPro
Copy link

CFPro commented Apr 5, 2013

I have problems with simplemodal when using it within an iOS device. It does not center the popup properly. Any fixes available?

@WorthyD
Copy link

WorthyD commented Aug 19, 2013

I had the same issue on a site where we weren't specifically targeting any mobile or tablet devices. We removed the meta viewport tag and it resolved the issue. Not an ideal fix for the issue, but looks to be the root cause.

@ux-engineer
Copy link

I have forced absolute positioning for the container element as I cant do fixed when this specific modal is possibly higher in height than the browser window (but less than the site layout height). Modal seems to stay centered without a centering trick also with iOS.

This is mostly what works with me here with the container element:

position : absolute !important;
width: 600px;

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