Skip to content

Commit

Permalink
fix(common): Resizer Service should only resize grid not its container (
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Dec 3, 2022
1 parent db34213 commit 7d21233
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/common/src/services/resizer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,8 @@ export class ResizerService {
// apply these new height/width to the datagrid
if (!this.gridOptions.autoHeight) {
this._gridDomElm.height(newHeight as string);
this._gridContainerElm.height(newHeight);
}
this._gridDomElm.width(newWidth as string);
this._gridContainerElm.width(newWidth as string);

// resize the slickgrid canvas on all browser except some IE versions
// exclude all IE below IE11
Expand Down

0 comments on commit 7d21233

Please sign in to comment.