Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8481129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:28:51+00:00 2026-06-10T19:28:51+00:00

What is this Jerking – On this page scroll right to the top, then

  • 0

What is this “Jerking” – On this page scroll right to the top, then if you’re using a mac use two fingers and scroll up more… the page will scroll further up (page moves downwards) revealing a gray area and bounce back up after you lift your fingers off the touchpad.

Question is how do i prevent this “jerking” effect with CSS or JavaScript?

I know it’s possible because if you go to facebook or pinterest and click on an image you get a lightbox. In that lightbox “mode” you won’t get this “jerking” effect.

I initially thought it’s something to do with lightboxes or css fixed positioning but even in http://lokeshdhakar.com/projects/lightbox2/ “mode” it still “jerks”. How did fb and pinterest do it?

ps. use chrome or safari. firefox doesn’t have this effect.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:28:53+00:00Added an answer on June 10, 2026 at 7:28 pm

    Facebook seems to accomplish this by setting the CSS attribute “overflow: hidden” on the document body when a picture is displayed. I just tested it myself by adding the following CSS to an HTML file and the bounceback scrolling was disabled.

    <style type="text/css">
    body {
        overflow: hidden;
    }
    </style>
    

    Of course, this will prevent your page from scrolling at all. I agree with Quentin, this is standard UI behavior and you shouldn’t change it unless you have a good reason.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is an example of the code am using. I use a modified version
This is effectively how i'm using _mssql. Everything works fine, even after i use
This is my main.xml that I use, and the two images in the myImage_Main
This url structure is proposed for SEO optimization. So suggesting another structure will not
This is my first time creating a PHP form that will run a MySQL
This question is quite specific. I'm using Symfony2 White October Admin Bundle for generating
This should not be so complicated: I am using Easiest Tooltip and Image Preview
This question was posted on StackApps , but the issue may be more a
This is my first day coding and using jquery, I figured the best way
This is my code to display list of questions and 4 options( using option

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.