Skip to content

Commit

Permalink
fix: Allow column resize past minWidth upto 30px
Browse files Browse the repository at this point in the history
  • Loading branch information
netchampfaris committed Mar 30, 2019
1 parent 1845adc commit 3446488
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/columnmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ export default class ColumnManager {
colIndex
} = $.data($resizingCell);

if (this.getColumnMinWidth(colIndex) > finalWidth) {
// don't resize past minWidth
let columnMinWidth = 30;
if (columnMinWidth > finalWidth) {
// don't resize past 30 pixels
return;
}
this.datamanager.updateColumn(colIndex, {
Expand Down

0 comments on commit 3446488

Please sign in to comment.