{% comment %} The state reaches the page as data-* on this element, the way upstream mirrors it, so a caller can style against the scroll position without reading any of the Alpine scope. data-pending-scroll holds the transcript invisible from the first paint until the opening position applies, so a conversation opened at the end does not show its oldest rows first. invisible keeps the layout, so the height is still there to measure. It only applies with scripting on: without JavaScript nothing would ever clear it, and the rows are shown as they are. {% endcomment %}
{{ slot }}