-
Notifications
You must be signed in to change notification settings - Fork 6
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
default block props is start #21
Comments
Hi, if (alignToTop) {
options.block = 'start' // defines vertical alignment
options.inline = 'nearest' // defines horizontal alignment
} Ref.: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView If you think it's an issue, feel free to describe proper behavior :) |
sorry for my bad english, |
So you would like to set both |
yes, I hope scrollIntoViewOptions could be customized |
Right, good point. |
Released as v1.9.0 |
if alignToTop is default, default of props block is also start.
The text was updated successfully, but these errors were encountered: