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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:30:38+00:00 2026-06-06T18:30:38+00:00

I have a work around for this problem, but I’ve been noticing some peculiar

  • 0

I have a work around for this problem, but I’ve been noticing some peculiar behavior while goofing around with html/javascript (jquery).

I’ve noticed that moving elements to the right and down beyond the borders of a containing element will resize the containing element. As an example the reader is directed to http://jqueryui.com/demos/draggable/ . Try dragging the box to the right or below the containing box. This behavior is maddening.

How might you disable this annoying property? Most of my elements are position: relative because placing them in the order they are written is not very useful at all. This is just something I’ve noticed and would like some reasoning.

  • 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-06T18:30:39+00:00Added an answer on June 6, 2026 at 6:30 pm

    you can try containment:

    Constrains dragging to within the bounds of the specified element or region. Possible string values: ‘parent’, ‘document’, ‘window’, [x1, y1, x2, y2].

    $( ".selector" ).draggable({ containment: "parent" });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some experience in ASP.Net and can work my way around it without
I have finally started messing around with creating some apps that work with RESTful
This problem arose in a module I'm writing, but I have made a minimal
What options do I have to work around disabled cookies for session management?
Since batch doesn't really have ints, I have to work around it with set
PLEASE NOTE, I have found a work around which actually works out better for
I'm trying to work around a problem with using ^@ (i.e., <ctrl-@> ) characters
Ok so ive been at this problem from a day or so now, seems
i have a very interesting problem. background i've used TTreeView for years but only
I realize that this is not possible since Android doesnt have a JVM but

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.