@SempervivumFeb 24.2022 — #PS: Found an explanation why it doesn't work for the `tr</C> element: You applied <C>display: contents;</C> to the rows. <QUOTE><i>></i>display: contents causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques.</QUOTE>
<URL url="https://caniuse.com/css-display-contents">https://caniuse.com/css-display-contents</URL><br/> The <C>tr` elements disappear from the rendered page which is also visible in the HTML inspector.
@SempervivumFeb 24.2022 — #PPS: It seems to me that I found an explanation for the issue that a delay is necessary: When I open the page for the very first time, scrolling to the selected row works. However when I scroll to the top manually and then reload scrolling does not work. My explanation: The browser remembers the latest scroll position and scrolls to it when reloading the page. This is overriding the scrolling by the javascript.