Skip to content

Commit

Permalink
Fix bug in DockContainer where adding / removing views would cause …
Browse files Browse the repository at this point in the history
…other views to be remounted (#3493)

Co-authored-by: Lee Wexler <[email protected]>
  • Loading branch information
ghsolomon and lbwexler authored Oct 10, 2023
1 parent a92f039 commit cee4e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* `DashContainerModel` fixes:
* Fix bug where `addView` would throw when adding a view to a row or column
* Fix bug where `allowRemove` flag was dropped from state for containers
* Fix bug in `DockContainer` where adding / removing views would cause other views to be remounted
* Fix erroneous `GridModel` warning when using a tree column within a column group
* Fix regression to alert banners. Resume allowing elements as messages

Expand Down
1 change: 1 addition & 0 deletions desktop/cmp/dock/impl/DockContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function dockContainerImpl(
className: classNames(className, `xh-dock-container--${model.direction}`),
items: model.views.map(viewModel => {
return dockView({
key: viewModel.xhId,
model: viewModel,
compactHeaders
});
Expand Down

0 comments on commit cee4e75

Please sign in to comment.