Describe the bug
When using a splitter and having an empty panel the exception is thrown
TypeError: this.$slots.default is not a function
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-jaisz8ts
Environment
Windows 11
Vs code
Vite
Vue version
3.5.13
PrimeVue version
4.3.3
Node version
22.11.0
Browser(s)
Any
Steps to reproduce the behavior
- Create a
Splitter component
- Leave one of the
SplitterPanel empty
- Reload the page
- After doing the reload the error should be thrown
Expected behavior
If a SplitterPanel is empty it should just show a blank panel segment
Describe the bug
When using a splitter and having an empty panel the exception is thrown
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-jaisz8ts
Environment
Windows 11
Vs code
Vite
Vue version
3.5.13
PrimeVue version
4.3.3
Node version
22.11.0
Browser(s)
Any
Steps to reproduce the behavior
SplittercomponentSplitterPanelemptyExpected behavior
If a
SplitterPanelis empty it should just show a blank panel segment