Currently, I am facing an issue with a table that contains [routerLink] on each <tr>
. This setup is preventing the "open link in a new tab" option from appearing when I right-click because there is no <a>
tag. I attempted to enclose the table row within an <a>
tag, but this caused disruptions in all the CSS styles.
Is there a more effective or standard approach to resolve this problem?
Here is what I have attempted so far:
<table>
<tr [routerLink]="url">
<a>
<td></td>
</a>
</tr>
.......