fix(all): Ionic components that use child Ionic components are now correctly defined (#24191)

resolves #23571, #24116, #24129

Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
This commit is contained in:
Will Martin
2021-11-11 12:18:38 -05:00
committed by GitHub
parent 5d4f5af360
commit 5a2a335784
9 changed files with 104 additions and 34 deletions

View File

@ -360,6 +360,16 @@ export class Select implements ComponentInterface {
options: this.createPopoverOptions(this.childOpts, value)
}
};
/**
* Workaround for Stencil to autodefine ion-select-popover.
*/
// tslint:disable-next-line
if (false) {
// @ts-ignore
document.createElement('ion-select-popover');
}
return popoverController.create(popoverOpts);
}