I am facing an issue with a table that has a few hundred rows generated by a recurring PHP script. Utilizing Bootstrap 5, I am using a stretched link to enable the entire row of the table to be clickable. The functionality works perfectly on desktop and even when using Chrome's dev tools to simulate a mobile device. However, when accessing the table from an actual mobile phone (tested on two devices), the first 9 rows do not have the correct link associated with them; instead, the link is associated with the last row in the table. All other rows in the table behave as expected. How can I go about troubleshooting this issue, especially since it does not appear when using dev tools on a web browser? For your reference, the recurring code snippet is provided below. The content consists of plain text with no special characters.
Edit: Upon further investigation, I have discovered that the issue only occurs for elements that are visible at the time of the page load. Anything "below the fold" behaves as expected. It seems that the positioning inconsistencies are a known bug in Bootstrap.
<tr class="position-relative">
<td class="position-static">
<div class="container d-flex align-items-center">
<div class="expansion-icon d-inline-block me-1">
<img class="img-fluid" src="img-source">
</div>
<div class="expansion-link d-inline-block">
<a href="link" class="stretched-link text-reset text-decoration-none">Content</a>
</div>
</div>
</td>
<td>Content</td>
<td>Content</td>
</tr>