I tried, but it only hide part of the window if it cross its parent. If the window title is accidentally hidden, then we will lost control and cannot move the window again. What I want is it never cross the parent, so all the window is visible inside the parent. Is that possible?
Is there any way to limit draggable/window movement only within it's parent? Specifically, constraint movement just like jqueryui does using containment: "parent" option.