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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:18:25+00:00 2026-06-05T03:18:25+00:00

An element which is has the resizable and draggable Jquery plugin applied to it

  • 0

An element which is has the resizable and draggable Jquery plugin applied to it is going out of bounds if the parent element doesn’t have

overflow:hidden;

Applied to it.

Here’s the JSfiddle: http://jsfiddle.net/hjtBA/

Try dragging the element to the far most bottom right corner a couple of times. You will see that it is going out of bounds. I figured out that if i set the parent element e.g. #outer to overflow:hidden that the problem is solved.

The problem:
I need the parent to have overflow:visible for other CSS to work fine. How else can i resolved the problem without making the parent overflow:hidden?

Thanks in advance!

  • 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-05T03:18:30+00:00Added an answer on June 5, 2026 at 3:18 am

    Resizable transforms the element to be absolutely positioned, so the bounding box is irrelevant,

    There seems to be a bug, that you can drag 3px out of the bounding box, so replace your fiddle with this code which adds a 3px snap function so you can’t drag 3px out of the boundary 🙂

    $(function(){
        $('#inner').resizable({
            containment: 'parent'        
            }).draggable({
            containment: 'parent' ,
            snap: "#outer", snapMode: "inner" ,
            snapTolerance: 3       
        });    
    });​
    

    You need overflow visible! when the item draggable and resizable, otherwise I found that it caused the item to be irretrievable!

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

Sidebar

Related Questions

I have a div element which is made jquery Resizable. It has alsoResize option
I have a DIV element which has a jQuery.toggle Event. If I add a
I have a JSON string (external file) which has an element which can either
I have a video element on a page which has an mp4, ogg, and
I have an element, which has the following CSS: .elem { left: 0; position:
I have a listview element which has thumbnails. The thumbnails are aligned in a
Clicking on an element which has a Javascript handler makes the element go have
I tried jQuery's $('#divOne').animate({zIndex: -1000}, 2000) to that element which has a z-index of
If I have inline SVG, including an element which has been scaled... <g transform=scale(sX,sY)>
I need to have a single <li> element which has two buttons inside of

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.