jcubic/jquery.splitter

Right panel initialises with zero width in vertical orientation when load it into not active bootstrap tab

Closed this issue · 2 comments

If initialise splitter in active tab it works fine. But in not active tab I need to manual resize splitter to set correct size for right panel.

Please, see example here - https://codepen.io/anon/pen/NAZPZv

It's because width of hidden elemens is equal to 0. to fix this you need to call refresh when splitter will be visible: https://codepen.io/jcubic/pen/rLoxoK

Thanks for solution. It works fine.