We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9beca2 commit 2b6e97bCopy full SHA for 2b6e97b
packages/primevue/src/splitter/Splitter.vue
@@ -79,7 +79,7 @@ export default {
79
80
this.panels.map((panel, i) => {
81
let panelInitialSize = panel.props && isNotEmpty(panel.props.size) ? panel.props.size : null;
82
- let panelSize = panelInitialSize || 100 / this.panels.length;
+ let panelSize = panelInitialSize ?? 100 / this.panels.length;
83
84
_panelSizes[i] = panelSize;
85
children[i].style.flexBasis = 'calc(' + panelSize + '% - ' + (this.panels.length - 1) * this.gutterSize + 'px)';
0 commit comments