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

scroll alignment #195

Open
719media opened this issue Jan 27, 2020 · 1 comment
Open

scroll alignment #195

719media opened this issue Jan 27, 2020 · 1 comment

Comments

@719media
Copy link

Feature request:

It would be nice if there was a field to specify alignment within the scroll, similar to how scrollIntoView works (https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)

A polyfill also supports these options:
https://github.com/magic-akari/seamless-scroll-polyfill

The reason is to scroll to an element, but have that element positioned start/center/end/nearest inside of the container.

@RemiTiab
Copy link

Yes i have the same problem ..
Good feature 👍

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

No branches or pull requests

3 participants