Thank you for your interest in TestCafe.
First of all, I wish to note that functional tests are always closely connected with visual elements' location. So if the screen resolution changes and an element becomes invisible, a test will fail.
Our test actions use the automated scroll mechanism regardless of an element's location on the page. But if there is no element in markup, the element doesn't have size or has a style set to
visibility = "hidden", we decide that this element is invisible (source code). In this case, you will need to add extra actions to make this element visible before performing actions for it.
If it does not work, please provide us with your test. As a workaround, you can use the resize window actions.