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

Closing split panes causes all panes to close #94

Closed mddifilippo89 closed 3 weeks ago

mddifilippo89 commented 6 months ago

Run sample https://stackblitz.com/edit/hb5uzc

Steps: Close floating pane and tab 1

Result: All tabs are closed.

Recommended solution: Add allowClose to split panes and other types that do not support it and/or only close active pane one at a time.

nshukin commented 5 months ago

Hi team, any updates?

gedinakova commented 5 months ago

Hello, if I understand correctly you aim is to close the tabs one by one. This is possible by simply using the menu on the tab itself. The header button is indeed meant to close the whole tabgrouppane.

nshukin commented 5 months ago

This issue is opened because of https://account.infragistics.com/support-cases/500VM00000BHbjFYAT Long story short, there is a problem with Pane layout, created dynamically. E.g. Issue1 When splitPane contains two content panes and I need to remove close button from the parent - splitPane (in order to forbid a user to close all inner/child panes by closing the parent one). The request is to have "allowClose" filed in the splitPane (since it could be the parent for content panes) that could be used for not allow to close it

nshukin commented 5 months ago

Hi team. This bug fix / enhancement is very important for me. I see that there are no actions with it. What is the actual progress?

igdmdimitrov commented 5 months ago

Hi @nshukin. We will schedule this for development.

mddifilippo89 commented 5 months ago

@igdmdimitrov What is the ETA for this? This is considered blocking for @nshukin

gedinakova commented 5 months ago

Hello @nshukin & @mddifilippo89,

We started looking into this issue. We identified two things we can implement in order to support such scenarios:

As this seems to be critical for your project, for the time being I can recommend handling the paneClose event and prevent closing all panes manually. I implemented this approach in this sample. Please, let us know if we can be of further assistance.

nshukin commented 5 months ago

Hey @gedinakova thank you, really appreciate it. I'll try the paneClose event and waiting the update

gedinakova commented 3 weeks ago

Released in 1.15.0