Posted 24 February 2022, 11:39 am EST
Referring to this code taken from your original examples, linking the Angular component to the popup component declaratively in the html template doesn’t seem to work:
https://jscodemine.grapecity.com/sample/EK2glMCa9ECdnWtgOzvhaw/
The first element is a test Angular component. When I examine the linked popup, the .owner property is null and the popup doesn’t show when I click on the component.
The second is virtually identical, but not wrapped in an Angular component, and the popup * "does "
show.
Is this expected behaviour?
To work around this, I’m exposing the nativeElement of the Angular component as a public property, and manually binding this to the owner property of the popup when the parent screen / component is created, but this seems clumsy and means I need to maintain / reference two extra ViewChildren