Skip to content

Commit

Permalink
fix(splitter): minSizes issue fixed in Splitter component (primefaces…
Browse files Browse the repository at this point in the history
  • Loading branch information
wS2Zth committed Oct 12, 2024
1 parent e8480cf commit 0451eef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/components/splitter/splitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class Splitter extends BaseComponent {
* Minimum size of the elements relative to 100%.
* @group Props
*/
@Input({ transform: numberAttribute }) minSizes: number[] = [];
@Input() minSizes: number[] = [];
/**
* Size of the elements relative to 100%.
* @group Props
Expand Down Expand Up @@ -276,8 +276,8 @@ export class Splitter extends BaseComponent {
? event.pageX
: event.changedTouches[0].pageX
: event instanceof MouseEvent
? event.pageY
: event.changedTouches[0].pageY;
? event.pageY
: event.changedTouches[0].pageY;
}

this.prevPanelElement = this.gutterElement.previousElementSibling as HTMLElement;
Expand Down Expand Up @@ -615,4 +615,4 @@ export class Splitter extends BaseComponent {
exports: [Splitter, SharedModule],
declarations: [Splitter],
})
export class SplitterModule {}
export class SplitterModule { }

0 comments on commit 0451eef

Please sign in to comment.