WebCabin / wcDocker

wcDocker (Web Cabin Docker) is a powerful window layout system with a responsive and completely interactive design. Move, remove, create, and duplicate panel windows at any time! Organize how you wish! View the demo here:
http://docker.webcabin.org
146 stars 53 forks source link

Adding the last panel in a floating panel cause crash (infinity loop) #93

Closed AFamularo-lomoSoft closed 8 years ago

AFamularo-lomoSoft commented 8 years ago

Hello Jeff,

I'm college of lomotelch, we work together on a project.

Scenario:

Steps:

Investigating: I indicate the source of the infinity loop in the event "onMouseUp".

// Dragging the entire frame. if (!self._draggingFrameTab) { var rect = self._ghost.rect(); if (!rect.tabOrientation) { rect.tabOrientation = self._draggingFrame.tabOrientation(); } while (self._draggingFrame.panel()) { self.movePanel(self._draggingFrame.panel(), wcDocker.DOCK.STACKED, panel, rect);}

This while-loop does not end.

Error with floating panel.docx wcDocker.zip //Please run bower install to the components.

Many thanks.

Best, Alexander

Lochemage commented 8 years ago

@AFamularo-lomoSoft

Thanks, I believe I understand why this is happening. I should be able to fix it later tonight, after I get home from work!

Lochemage commented 8 years ago

@AFamularo-lomoSoft

This issue should be fixed now, please let me know if you find anything else.