-
Notifications
You must be signed in to change notification settings - Fork 816
Open
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within StencilHelp Wanted
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
v4.36.1
Current Behavior
When an <ion-list>
element is asked for its children, an empty collection is answered (in all situations). The internal property __children
correctly recognises the children present.
Expected Behavior
The actual children (as present in the property __children
) should be answered.
System Info
Steps to Reproduce
- Go to IonList page of the Ionic components: https://ionicframework.com/docs/api/list
- Open dev console
- Enter:
document.body.querySelector("ion-list").children
- Result: empty collection
- Enter
document.body.querySelector("ion-list").__children
- Result: non-empty collection
Code Reproduction URL
(see reproduction steps above)
Additional Information
I think the recent updates wrt patching components (#6349) incorrectly concludes that the IonList element has slots. The IonList has a render function on some template, but it does not contain an explicit slot element.
Metadata
Metadata
Assignees
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within StencilHelp Wanted