How do I mock the dimensions and scrolling for testing?
Is there a suggestion on which things I should mock to achieve this? I've been trying some things (
HTMLElement.prototype.scrollHeight, HTMLElement.prototype.getBoundingClientRect) but virtual always renders all the elements.