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

  • SEARCH
  • Home
  • 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 8776697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:07:03+00:00 2026-06-13T19:07:03+00:00

I want to hav a scrollable container that hosts a scrollable list with iScroll4.

  • 0

I want to hav a scrollable container that hosts a scrollable list with iScroll4. I got everything running on my own:

http://jsfiddle.net/BH2F3/

(does not work in the preview, so please download and try locally)

The PROBLEM now is:

When I do a scroll action on the list, also the outer container scrolls. How to I protect the outer container from scrolling and only apply the scroll action to the nested list? I already tried “snapping” to the list with no success. Do I have to bind to the “onBeforeScrollStart” ?

The official Implementation is : onBeforeScrollStart: function (e) { e.preventDefault(); }, so I’d expect the outer container not to scroll.

  • 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-13T19:07:04+00:00Added an answer on June 13, 2026 at 7:07 pm

    Just found out:

    It is not a matter of Default prevention but event bubbling.

    The solution is in overwriting onBeforeScrollStart !

                onBeforeScrollStart: function (e) { 
                e.preventDefault();
                e.stopPropagation();
                },
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Want to verify that my understanding of how this works. Have a C++ Class
I want to decrpyt the encrypted message digest. i hav this code in my
I hav two stl maps like map<int,int> and i want to compare them.. so
i hav a two dates of type nsdate and i want to calculate the
i hav String date & i want to inceament date by 1 & it
I hav a string, that can contain the following: lots of text Nov 30
I hav a simple query SELECT id from table1 I want to ad 20000
I have a lot of classes UNO,HAV,MAS,KOS I want to create a factory pattern.
In my app i hav 4 views, i want to hide the navigation bar
i want to have a xml file in the user specifed directory. for that

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.