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

element.ScrollIntoView with true option #379

Open
JumpAttacker opened this issue Jan 14, 2021 · 0 comments
Open

element.ScrollIntoView with true option #379

JumpAttacker opened this issue Jan 14, 2021 · 0 comments

Comments

@JumpAttacker
Copy link

When im using element.scrollIntoView(true)

foundItem.scrollIntoView({
        block: "center" // or 'start'
        behavior: "smooth"
      });

scroll working is not correnctly

reproduce link
https://codesandbox.io/s/react-fiddle-forked-bvesc?file=/src/App.js

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

No branches or pull requests

1 participant