When calling Cypress cy.get method, the page is scrolled so that the selected element is at the top of the page.
This is problematic when there is a relatively positioned sticky toolbar on top of it, because it may systematically hide the element and thus fail the further click events.
This is reproducible with Material UI "Dashboard" template for instance.
Any idea how I could solve this, either by modifying the template to keep a sticky top menu without relative positionning (edit: actually the header is absolutely positionned), or setting up Cypress to slightly offset the scroll when getting elements?
Of course I can force clicks with cy.click({force:true}) but that's not very good in the long run.