I am working on creating a table where clicking on a row will trigger a popup window to appear right below that specific row. Currently, the popup is displaying under the entire table instead of beneath the clicked row. How can I adjust my Angular and Bootstrap code to ensure the popup appears in the correct location?
<table>
<thead>
...
</thead>
<tbody>
<ng-container =ngFor="...">
<tr (click)="showPopUp()">
...
</tr>
</ng-container>
</tbody>
</table>
<app-popup-component>...</app-popup-component>