Also, insert it into the DOM with itad_info_container_hidden
to prevent reflow issues during the initial load.
Basically, on some sites (most notably Mattermost, a slack
alternative), the initial position of the info container
at the end of the DOM would cause the body to extend past
100vh, which would break sub-element scrolling, so scrolling
to the end of chat divs would end up causing the entire
viewport to scroll, leaving a blank white section after the
chat app.
Also, insert it into the DOM with itad_info_container_hidden to prevent reflow issues during the initial load.
Basically, on some sites (most notably Mattermost, a slack alternative), the initial position of the info container at the end of the DOM would cause the body to extend past 100vh, which would break sub-element scrolling, so scrolling to the end of chat
div
s would end up causing the entire viewport to scroll, leaving a blank white section after the chat app.