Skip to content

When waiting for actionability Cypress should scroll all parent containers not just window #569

@brian-mann

Description

@brian-mann
  • Cypress Version: 0.19.4

Is this a Feature or Bug?

Bug

Current behavior:

When Cypress detects an element is covered by a fixed position element, it only attempts to scroll the window instead of the parent container(s).

Desired behavior:

It's possible the window is not actually scrollable.

Cypress should iteratively scroll each parent container, starting with the window and working its way down until the element becomes actionable.

Additional Info (images, stack traces, etc)

It does this currently, which means it's still covered up.

screen shot 2017-07-21 at 6 58 19 pm

It needs to do this, which uncovers it.
screen shot 2017-07-21 at 6 57 54 pm

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions