IgniteUI / igniteui-dockmanager

Ignite UI Dock Manager Web Component provides means to manage the layout of your application.
Other
38 stars 0 forks source link

Dock Manager Floating Pane issue. #7

Closed KaushikEDS closed 3 years ago

KaushikEDS commented 3 years ago

Description

Dock manager: When only one pane remains in the window and when we drag that pane and try to position it anywhere then the dock manager breaks. It gives the following error : ERROR TypeError: Cannot read property 'getBoundingClientRect' of undefined

Steps to reproduce

  1. Open any example of Dock Manager
  2. Delete all panes and only keep 1 pane.
  3. Drag that pane to make it a floating pane.
  4. Try to position that pane on the window using the arrow indicators on the screen.

Result

What is the actual result after following the steps to reproduce? The Dock manager sometimes breaks and always gives the error mentioned above. In some cases, the pane is positioned on the window but it still the error.

Expected result

What is the expected result after following the steps to reproduce? The Floating pane should have a Default pane to position into. If all panes are deleted and only floating panes exist there should be a headerless Root pane so that floating panes can be positioned inside it, like a black canvas or something.

Attachments

Attach a sample if available, and screenshots, if applicable.
image

image

image

Broken...! image

KaushikEDS commented 3 years ago

I reinstalled the Dock manager after I saw that this issue has been resolved. But I still am seeing this error below ;- image Can someone guide me on how to remove this error?

gedinakova commented 3 years ago

Hello @KaushikEDS,

Apologies for the confusion. The version containing this fix has not been released yet that is why you are still getting the error. We expect to release it next week!

KaushikEDS commented 3 years ago

I thought so since the repo hasn't been updated in some months. But I saw the status: resolved label then I had to ask. : )