Skip to content

scrollIntoView doc page contains unsafe chains in examples #5002

Open
@JessefSpecialisterren

Description

@JessefSpecialisterren

Subject

api

Description

https://docs.cypress.io/api/commands/scrollintoview states that "[i]t is unsafe to chain further commands that rely on the subject after .scrollIntoView()." However, two examples on the page chain .should('be.visible') on scrollIntoView. I think the examples should be updated to re-query the DOM before doing that assertion

Pinging @BlueWinds (hope that's an okay thing to do?) to check if this is indeed a desired documentation change

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions