igniteui-angular 19.2.0-rc.0 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -92228,7 +92228,15 @@ class IgxSplitterComponent {
|
|
|
92228
92228
|
this.resizing.emit(args);
|
|
92229
92229
|
}
|
|
92230
92230
|
onMoveEnd(delta) {
|
|
92231
|
-
|
|
92231
|
+
let [paneSize, siblingSize] = this.calcNewSizes(delta);
|
|
92232
|
+
if (paneSize + siblingSize > this.getTotalSize() && delta < 0) {
|
|
92233
|
+
paneSize = this.getTotalSize();
|
|
92234
|
+
siblingSize = 0;
|
|
92235
|
+
}
|
|
92236
|
+
else if (paneSize + siblingSize > this.getTotalSize() && delta > 0) {
|
|
92237
|
+
paneSize = 0;
|
|
92238
|
+
siblingSize = this.getTotalSize();
|
|
92239
|
+
}
|
|
92232
92240
|
if (this.pane.isPercentageSize) {
|
|
92233
92241
|
// handle % resizes
|
|
92234
92242
|
const totalSize = this.getTotalSize();
|