2

I'm looking for a way to update the jQuery UI draggable components bounds while dragging it. My use case is a box that has containment set to "parent", but dynamically resizes downwards when it hits the bottom edge. Currently, I can drag and when it hits the bottom edge, it will resize, but I have to drop the element to move it down again and force a resize. I've found the offending lines in the jQuery UI project that cause this behaviour. I've also tried the solutions detailed in this answer, but they don't seem to work for the use case that has a bottom that can expand indefinitely. For all intents and purposes, my demo is the exact same as detailed in this answer. Is there a way to let jQuery UI know that I want to keep moving an element down?

Community
  • 1
  • 1
Seiyria
  • 2,112
  • 3
  • 25
  • 51

0 Answers0