Skip to content

Sticky elements within a fixed container will not prevent an element from being scrolled to #4153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

davidmunechika
Copy link
Contributor

@davidmunechika davidmunechika commented Oct 12, 2021

Link to related PR: cypress-io/cypress#18441

Added a note in the Actionability docs explaining how Cypress will automatically try different scrollBehavior options if the current configuration option does not result in the element being visible (this fixes the problem with the sticky elements in a fixed container preventing elements from being scrolled to).

@davidmunechika
Copy link
Contributor Author

Closing because implementation of PR was changed to fix the order of actionability ensureVisibility checks rather than affecting scrollBehavior. This bug fix does not need an update in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants