Hello Alejandro!
I use this add-on in V14 without error. Now I switched V24. I get a strage error when I try to reuse tabs and remove them before:
java.lang.ClassCastException: class [Lcom.vaadin.flow.component.Component; cannot be cast to class [Lcom.vaadin.flow.component.tabs.Tab; ([Lcom.vaadin.flow.component.Component; and [Lcom.vaadin.flow.component.tabs.Tab; are in unnamed module of loader 'app') at com.vaadin.flow.component.tabs.Tabs.remove(Tabs.java:217) at org.vaadin.tabs.PagedTabs.close(PagedTabs.java:67)
Interesting, because dowloaded src contains anomalic line numbers.
PagedTabs:67 getContent().remove(tab); and getContent() is Tabs but iTabs:217 seems other remove method (and it seems type checked).
Why failed cast of single Tab varrgs to Tab array? I use Correto 17.
Thanks. Karl.