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

css-position-fixed returns true on iOS 4 Safari #57

Open
rainhead opened this issue Dec 1, 2010 · 4 comments
Open

css-position-fixed returns true on iOS 4 Safari #57

rainhead opened this issue Dec 1, 2010 · 4 comments
Labels

Comments

@rainhead
Copy link

rainhead commented Dec 1, 2010

Tested iPhone Simulator with iOS 4.0.1 and iPhone 4 with iOS 4.3.1.

@paulirish
Copy link
Collaborator

:(

@rainhead
Copy link
Author

rainhead commented Dec 1, 2010

The problem is that Mobile Safari, at least on iOS, treats position:fixed as position:absolute, except it uses the document as the reference element. I haven't thought of any way to test this that doesn't involve scrolling the document.

@unscriptable
Copy link

More info about this issue is here: http://www.quirksmode.org/blog/archives/2010/12/the_fifth_posit.html

@cuongvu
Copy link

cuongvu commented May 16, 2012

Hello all,
Do you have any idea to make position: fixed work on iOS4 without javascript?
My client doesn't want the object (fixed at bottom) is scroll while user scroll the site.
If we use javascript, the object can be go back at bottom but it is still scroll while user scroll the website.
Could you help me?
Thank you.
Regards,
Cuong

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

No branches or pull requests

4 participants