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

Internal anchor links to content within a section using scrollOverflow #4442

Open
atomic-matt opened this issue Aug 12, 2022 · 3 comments
Open
Labels

Comments

@atomic-matt
Copy link

More of a question than an issue. I have a section which has more content than the screen height and inside that there are some jump (anchor) links to content further down this section. There is then another section below this. At the moment when clicked on a jump link the current full screen section doesn't scroll internally to the correct place and the section below cover it.

Is having internal anchor links on a particular section possible?

@alvarotrigo
Copy link
Owner

Unfortunately, fullPage.js doesn't provide any way to use internal anchors in scrollOverflow sections at the moment.

You can probably do this by preventing the default browser behaviour and then scrolling to the anchor withing the scrollable wrapper of the section. But I haven't tried it myself.

@alvarotrigo alvarotrigo changed the title Jump (Anchor) links to content within a section Jump (Anchor) links to content within a section using scrollOverflow Aug 12, 2022
@alvarotrigo alvarotrigo changed the title Jump (Anchor) links to content within a section using scrollOverflow Internal anchor links to content within a section using scrollOverflow Aug 12, 2022
@plcdnl
Copy link

plcdnl commented Sep 12, 2022

I have the same problem.
have you solved somehow?

thank you

@alvarotrigo
Copy link
Owner

have you solved somehow?

If I do you'll see an answer here.

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

No branches or pull requests

3 participants