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 7623791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:47:42+00:00 2026-05-31T04:47:42+00:00

My problem is that the JScrollPane always displays despite the content area having a

  • 0

My problem is that the JScrollPane always displays despite the content area having a CSS overflow:auto. The vertical scrollbar always displays even if there is one item.

Now, I have the JScrollPane inside an accordion. The accordion content is dynamically generated by .Net. I rebind the JscrollPane after any updates and have the setting to

Here is the rendered html.

 <div class="accordion-content jspScrollable" style="overflow: hidden; padding: 0px; width: 182px; display: block;" tabindex="0">
  <div class="jspContainer" style="width: 182px; height: 62px;">
    <div class="jspPane" style="padding: 4px 0px 5px 2px; width: 168px; top: 0px;">
      <div class="cb-row">
        <input type="checkbox" value="Cosco" name="retailer" id="Cosco-0">
        <label style="padding:0 0 0 4px; vertical-align:middle" for="Cosco-0">Item A:</label>
        <span class="cb-result">2</span></div>
      <div class="cb-row">
        <input type="checkbox" value="Kroger" name="retailer" id="Kroger-1">
        <label style="padding:0 0 0 4px; vertical-align:middle" for="Kroger-1">Item B:</label>
        <span class="cb-result">2</span></div>
      <div class="cb-row">
        <input type="checkbox" value="Pet Specialty" name="retailer" id="Pet Specialty-2">
        <label style="padding:0 0 0 4px; vertical-align:middle" for="Pet Specialty-2">Item C:</label>
        <span class="cb-result">1</span></div>
    </div>
    <div class="jspVerticalBar">
      <div class="jspCap jspCapTop"></div>
      <div class="jspTrack" style="height: 62px;">
        <div class="jspDrag" style="height: 55px; top: 0px;">
          <div class="jspDragTop"></div>
          <div class="jspDragBottom"></div>
        </div>
      </div>
      <div class="jspCap jspCapBottom"></div>
    </div>
  </div>
</div>

So, I have no idea what is causing the style=”overflow:hidden… in the accordion-content. It strikes me that it should be auto so that the scrollbars will display when required. However, I am not adding this inline style. Does JSP add this?

When I view the CSS in Firebug it shows that my overflow:auto is crossed out.

Another idea is that the margin on the bottom of the content area is causing something in the JSP to trigger.

I have read that JSP wants a height to be defined, but since the content is dynamic, I cannot always set the height.

  • 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-05-31T04:47:43+00:00Added an answer on May 31, 2026 at 4:47 am

    Apparently, height is required for the content area. I had to calculate the height dynamically using JQ and then apply that to each content area.

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

Sidebar

Related Questions

I seem to be having a problem that jScrollPane doesn't seem to load on
I'm having this problem: I have a JList (within a JScrollPane) with say about
This is the code below, the problem is that the JScrollPane stays at its
Simple problem that I can't figure out... How can I print a '%' character
The problem that I have is somehow very specific. I have to implement a
I have a strange problem that is only happening in a single location. I
I have a (big) problem that all of you that work with Webforms might
Ok I have this problem that I've never had before, it's really bugging me.
I'm facing a problem that seems to have no straighforward solution. I'm using java.util.Map
I recently have a problem that my java code works perfectly ok on my

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.