TreeGrid not displaying components after expanding and collapsing

I’m trying to display a Component in a TreeGrid with Vaadin 24.0.0, but after expanding and collapsing one item, some components disappear. It feels like this is a bug, but maybe I’m doing something wrong?

Video and MainView (of my-todo starter project) is attached.

Your AttachmentGroup and Attachment classes should implement hashCode and equals

See Binding Items to Components | Data Binding | Vaadin Docs

I had hashCode and Equals in the original production code but it doesn’t make a difference

MainView.java (5.62 KB)

I made it even simpler, and removed all adapters:

MainView.java (2.78 KB)

same issue

Worth creating a GitHub ticket, then. Issues · vaadin/flow-components · GitHub