const canScroll = element.scrollHeight > Math.ceil(element.clientHeight);