-
Notifications
You must be signed in to change notification settings - Fork 7
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
Request: find me target to jump to bottom of expanded element #8
Comments
I kind of am getting somewhere by adding an actual target id to jump to.....
|
and here is the code that does exactly what I want. It calculates the offset from the current expand element relative to the window, then gets the target element and subtracts that offset so it jumps to where you clicked.
|
Also made it so that scroll-to-trigger causes the scroll position to go back to where the button was clicked...
|
Please read this: |
Hi there. Hopefully this is an ok place to make requests.
I am trying to use the findme feature to have expanded blocks open up and automatically scroll to the bottom of the block.
I've tried a few things (using the roll your own example) but the current behaviour (from looking at the code) seems to use the top of the element as the scroll position.
Would it be possible to add an option to set the scroll so that the end of the block ends up where the initial expand text was?
Thanks
The text was updated successfully, but these errors were encountered: