Problem with Accordion and removing tabs

In Vaadin 6.5.4, when you include an Accordion in your interface and then later remove its compoments, after it removes the last component, the UI will hang. The problem is when the Accordion has already been made visible, the Vaadin code doesn’t properly handle having no child components for painting. I have seen this both when calling removeAllComponents(), or the last time I call removeComponent() when doing it for each individual component. The workaround is to call setVisible(false) on the Accordion before removing the components.


Please file a ticket about this to
, that way the dev team can keep track of open issues.