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

option to add spacing on the bottom of the page so that when clicking on an item, it always shows up at the top #38

Open
jgallen23 opened this issue May 28, 2014 · 2 comments · May be fixed by #42

Comments

@jgallen23
Copy link
Owner

could work something like:

{ //options
  addBottomPadding: false | selector
}

if selector passed in, that's the element that gets the bottom padding.

@jgallen23
Copy link
Owner Author

question is, should it add on load or on click? on load would be better for the active state while scrolling, but then it might get funky with a resize.

@dawnerd thoughts?

@dawnerd
Copy link
Collaborator

dawnerd commented May 28, 2014

Leaning towards on click. If we do it that way, we're only adding the padding if we really need to.

@Antonio-Laguna Antonio-Laguna linked a pull request Jun 17, 2014 that will close this issue
Antonio-Laguna pushed a commit to Antonio-Laguna/toc that referenced this issue Jun 18, 2014
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 a pull request may close this issue.

2 participants