- Operating System: macOS High Sierra 10.13.3
- Cypress Version: 2.1.0
- Browser Version: Chrome 59
Is this a Feature or Bug?
Bug
Current behavior:
When using position: sticky and display: flex combination cypress gets mad when trying to access element inside sticky element:

It scrolls to the end of the page before performing any operations on the element while it is not required as the element is visible and accessible.
Desired behavior:
Should access elements without scrolling
How to reproduce:
https://github.com/RomanGotsiy/cypress-test-tiny
Just run npm run cypress:open and select the only available suite.
There are three tests there:
type into the input
click on the link
- both but with
{force: true} which works as expected
Is this a Feature or Bug?
Bug
Current behavior:
When using
position: stickyanddisplay: flexcombination cypress gets mad when trying to access element inside sticky element:It scrolls to the end of the page before performing any operations on the element while it is not required as the element is visible and accessible.
Desired behavior:
Should access elements without scrolling
How to reproduce:
https://github.com/RomanGotsiy/cypress-test-tiny
Just run
npm run cypress:openand select the only available suite.There are three tests there:
typeinto the inputclickon the link{force: true}which works as expected