I'm attempting to conceal the arrow that appears above the selected header, as depicted below. https://i.stack.imgur.com/wyxdF.png
While scrolling, I aim to hide the arrow that appears on the header Company, especially when the first column is sticky.
.hide-arrow{
height: 19px;
width: 91px;
z-index: 9999 !important;
position: sticky;
left: 3px;
opacity: unset;
background: white;
}
I am pondering if this approach is correct, since it necessitates creating a div to take up space for hiding the arrow during scroll.
<tr>
<div class="hide-arrow"></div>
<th style="left:3px">Company</th>
<th>Contact
<div class="arrow-position">
<span class="module-img"> <i class="icon-long-arrow-down"></i>
</span>
</div>
</th>
<th>Country</th>
<th>Code</th>
<th>Language</th>
<th>Country</th>
<th>Code</th>
<th>Language</th>
</tr>
You can access the functional plunker here