in src/components/Chat/ChatTranscriptor/ChatTranscriptScroller.js [112:121]
function handleScroll() {
// Start loading transcript if scrolled all the way up
const startLoading = ref.current.scrollHeight > ref.current.clientHeight && ref.current.scrollTop <= SCROLL_TOP_MARGIN && !loading;
if (startLoading) {
setLoading(true);
loadPreviousTranscript().then(() => {
setLoading(false);
});
}
}