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

Inconsistent navbar/anchor behaviour #54

Open
ghost opened this issue Feb 8, 2022 · 0 comments
Open

Inconsistent navbar/anchor behaviour #54

ghost opened this issue Feb 8, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 8, 2022

Hí! Thanks for this excellent template. It's really elegant.

Slight problem: Clicking links in the navbar can act in one of two ways depending on page content.

Situation 1 : page content is less than viewport height
In this case, clicking the navbar link changes the page content nice and smoothly with the navbar is still displayed.

Screen.Recording.2022-02-08.at.4.05.44.p.m.mov

Situation 2: page content is greater than viewport height
In this case, clicking the navbar link changes the page content, but the navbar jumps upward out of view.

Screen.Recording.2022-02-08.at.4.06.28.p.m.mov

Is it possible to get the situation 1 behaviour always? Here is code to test on, since I haven't deployed yet
index.html.txt
.

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

0 participants