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

What about SMALLsectionsDestination? #2801

Open
skobe opened this issue Jul 18, 2017 · 4 comments
Open

What about SMALLsectionsDestination? #2801

skobe opened this issue Jul 18, 2017 · 4 comments

Comments

@skobe
Copy link

skobe commented Jul 18, 2017

Hi there,

I need a menu anchor to land at the top of an smaller section (fp-auto-height).

This is my setup

As you can see (coming from the top) the section TWO lands at the bottom of the screen.

I found the bigSectionsDestination option but is possible to have that same option for smaller sections?

Thanks in advance,
Jesko

@alvarotrigo
Copy link
Owner

alvarotrigo commented Jul 18, 2017

There's no such option at the moment I'm afraid. It might be difficult to deal with it in case you have multiple small section one after the other.
We would have somehow to see if we can scroll them or not depending in how much space the rest would take in the viewport.

@skobe
Copy link
Author

skobe commented Jul 20, 2017

Thank you for your quick response and for the info. I ended up removing the data-menuanchor from the concerning menu-item and writing my own scrollto function for that particular section which is triggered by clicking on the <li>. I updated the fiddle accordingly: http://jsfiddle.net/skobe/kak1x5nw/3/ in case someone has the same problem.

@saman222
Copy link

saman222 commented Oct 25, 2022

hi @alvarotrigo
i have a similar problem, i don't understand exactly similar or no , i have multiple different smaller height section and i want when a user scroll down, then top of section tangent set to bottom of my fixed menu and i don't want go to behind of my fixed menu. but in now, bottom of section set to bottom of viewport of browser and other section go to behind of my fixed menu. is there anyway?

@alvarotrigo
Copy link
Owner

@saman222 its a different issue, but the answer is no in any case. Duplicated of #2785.

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

3 participants