Closed gudzpoz closed 3 years ago
Hi @GuDzpoz, that makes sense. Adding this to my todo. :)
Hi @GuDzpoz, @macjuul,
Thanks for your feature request and clear example on Codepen 👍 This is now implemented in version 1.40.0 (You can rerun your Codepen).
Hope it helps, please reopen if not solved. :)
Currently it seems tab contents are getting created each time one switches a tab. (See https://codepen.io/gudzpoz/pen/PojYJMv for an instance: each
w-switch
is a new switch and thew-accordion
state is not preserved.) When the content is big, re-rendering each time is inefficient and an effect likekeep-alive
orv-show
might be desirable.