Skip to content
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

Mark Element.scrollIntoView as not implemented #3639

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Cipscis
Copy link

@Cipscis Cipscis commented Dec 11, 2023

Resolves #1695

Because JSDom can't handle layout, Element.scrollIntoView can't really be implemented. However, it hasn't been marked as not implemented like several other scrolling methods have, for example window.scrollTo.

This PR marks Element.scrollIntoView as not implemented, with the purpose of improved error reporting when users write tests than invoke Element.scrollIntoView.

@Benjin

This comment was marked as spam.

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.

scrollIntoView is not a function
2 participants