The Composite class overrides getChildren() to return a stream with the encapsulated component, but also getElement() returning the Element of the wrapped component. The latter causes the virtual children to be fetched as Composite direct children, thus duplicating any virtual children the encapsulated component might have.
Description
The Composite class overrides getChildren() to return a stream with the encapsulated component, but also getElement() returning the Element of the wrapped component. The latter causes the virtual children to be fetched as Composite direct children, thus duplicating any virtual children the encapsulated component might have.
Fixes #1738
Type of change
Checklist
Additional for
Feature
type of change