Call trimChats immediately, not only after the element is visible
Since the element will already be taking up space (due to the `opacity:0` property being used, instead of `display:none`).
Showing
Please register or sign in to comment
Since the element will already be taking up space (due to the `opacity:0` property being used, instead of `display:none`).