p-splitter: zero width panel parsed as null #16425
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
the p-splitter incorrectly parses zero width panels as null, and defaults 0 to the default value.
Environment
Windows 11
Reproducer
No response
Angular version
18.2.0
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.16.0
Browser(s)
No response
Steps to reproduce the behavior
set panelSizes to [100, 0]
instead it is set to [100, 50]
Expected behavior
panelSizes to be set to [100, 0]
The text was updated successfully, but these errors were encountered: