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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:58:16+00:00 2026-06-08T02:58:16+00:00

I am working in JavaScript and stuck in a problem and need help from

  • 0

I am working in JavaScript and stuck in a problem and need help from experts.
here is my scenario I have a div which has two divs inside it.I want my outer div to be draggable and one of my inner div has a scrolling option in it

<div id = "par" class "ui-draggable" style="position: relative; height: 200px; width: 540px;">

    <div width="440" height="182" style="float: left;">
    </div>

    <div style="width: 100px; height: 182px; float: left; overflow-x: auto; overflow-y: auto; ">
    </div>

</div>

Then I have wrote following code to make my div draggable

 $('#par').draggable();

It working fine and is draggable.
But I am now stuck in a problem that when I click on scroll bar and then try to drop my div.I does not drop.Any idea what I have done wrong or is there a way to correct it.
I an using chrome browser.it working fine in fire fox but not in chrome
Here is a link to Jsfiddle
http://jsfiddle.net/xhMgu/

Thanks any help will be appreciated

  • 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-08T02:58:17+00:00Added an answer on June 8, 2026 at 2:58 am

    You should use the “handle” option of the draggable component. Using it, you will delegate the dragging handle to another tag. If you use your top container as a draggable (the default behaviour) you will have the problem that you said. Take a look at my answer here: jQuery UI drag and drop issue with scroll

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

Sidebar

Related Questions

I have a working JavaScript code below which dynamically creates JSON object using JSON.parse
I have this javascript which is working great - var employeename = $(#employeename); var
I am working with javascript and here is what I am trying to do:
So I have been working with javascript for a website I am designing, shocker
I have a script embedded in a page, which is as follows: <script type=text/javascript>
Im stuck with a ajax function im creating. Here is the deal, I have
I'm working on JavaScript and stuck in a small issue. I am receiving this
I Have been working on a problem for the last couple of days with
I am working on JavaScript architecture with requireJS module. Module definition is pretty simple:
Hello all I am working on javascript jquery and svg.I want to ask a

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.