SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict goldensona's Avatar
    Join Date
    Jun 2011
    Posts
    226
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    position fixed not support in adroid2.3

    Hi

    the S2 does not appear to fully support position:fixed, instead it emulates it by snapping the object back in place once the scrolling is completed

    I've no idea why this is, as all the other Android 2.3 devices, how to solve this issue.?

  2. #2
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    Hmm, I'm on Android 2.3.7 (Cyanogenmod), and I see no snapping here, only a weird glow appearing at the bottom of the screen when you try to scroll something that has 'position: fixed'.
    The Android emulator does show snapping on 2.2 and 4.0, but not on any other versions.

    As for a solution... you could try something like this: http://cubiq.org/iscroll-4
    I successfully implemented it on an app for iPhone ('cos iOS doesn't support position: fixed before iOS 5), and apparently it's compatible with Android too.

  3. #3
    SitePoint Addict goldensona's Avatar
    Join Date
    Jun 2011
    Posts
    226
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    i have used iscroll 4 but it didnt support in android , so for that i used position fixed. in opera mobile browser only it behave like that. if i scroll the footer too move and fixed at bottom when scroll stopped.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •