primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
8.76k stars 1.09k forks source link

Splitter/SplitterPanel: size not updated #5463

Open matansha opened 3 months ago

matansha commented 3 months ago

Describe the bug

Hi,

When i try to update the :size it's doing nothing. how can i update the sizes of the SplitterPanel manually?

Thanks!

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-ctkwps?file=src%2FApp.vue

PrimeVue version

3.50.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

All

Steps to reproduce the behavior

press the button that change the size update heightOfCodes doing nothing...

Expected behavior

No response

matansha commented 3 months ago

Hi @tugcekucukoglu,

Thanks for your try. Maybe you just need to extract this part to new function and call it when update or watch the size prop: Screenshot 2024-04-04 at 12 47 31

it's seems it didn't work's because the initialized if. can you check this please?

matansha commented 4 days ago

@tugcekucukoglu Do you have any time estimation when it going to be fixed?