antoniandre / splitpanes

A Vue 3 (and 2) reliable, simple and touch-ready panes splitter / resizer.
https://antoniandre.github.io/splitpanes
MIT License
1.85k stars 166 forks source link

resize splitpanes when user resize window screen #166

Open kyrylo93 opened 2 years ago

kyrylo93 commented 2 years ago

Hello, I have a problem, maybe somebody can help me.

I have two panes, [][], one with text on the left and an image on the right

when the user resizes splitpanes by splitter I compute the available width and truncate text on the left 'image.....next.png'

The problem is that resize event doesn't catch when the user resizes the screen or opens the console (yes, I have such a requirement). I tried to call different methods using ref logic, didn't help, also tried to update the key on splitpanes component.