primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Splitter/SplitterPanel: size not updated

Open matansha opened this issue 1 year ago • 1 comments

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 avatar Mar 22 '24 20:03 matansha

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 avatar Apr 04 '24 09:04 matansha

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

matansha avatar Jul 01 '24 10:07 matansha