WebCabin/wcDocker

Using moveable(false) cause that a other panel can not be stacked

Opened this issue · 1 comments

Hello Jeff,

Scenario:
-This in mind (We want a fixed panel to give the user a "calm" experience - a safe location where a new detail panel will appear.)
-The user wants to compare two rows. He moves one panel to the right
-After he has finished this task he want to stack the panel back to the overview

Steps:
-One detail panel is moved to the right
detail panel beside
-Activated the overview panel
-Moving the separate detail panel to the overview don´t work (Stacking)
-Activate the other details panel
-Moving the separate detail panel to the overview works

active overview stacking do not work.zip
active detail view stacking do work.zip

wcDocker.zip

Thank you.

Best,
Alexander

@AFamularo-lomoSoft

Just guessing without looking at your code, your Overview panel is non-moveable while your others are. Non-moveable panels can not be a target to drop other panels because the very act causes both panels to move. Since one of your two panels can not move, it therefore can not be a drop target.

I do not restrict you from programmatically tabbing moveable with non-moveable panels, so it becomes confusing when you try and mix them both together. A non-moveable panel is only intended for use as a static panel which appears at the top or side of the viewport (a common use case is a file menu at the top). In this case, you are trying to use a non-moveable panel for something other than it was intended for.