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

Scroll Issue with Chrome #49

Closed
alanef opened this issue Jun 8, 2017 · 2 comments
Closed

Scroll Issue with Chrome #49

alanef opened this issue Jun 8, 2017 · 2 comments

Comments

@alanef
Copy link

alanef commented Jun 8, 2017

Your theme is very nice, but Chrome presents a scroll issue.

This issue does not occur in MS Edge or Firefox.

Essentially if you scroll down in Chrome, the page then tries to scroll back up[ to the top.

Clearly a Javascript issue ( disabling JS in chrome make the problem go away ). Console shows no JS errors.

I tried looking at your code, but you are doing several clever things relating to window height and scroll so couldn't easily identify the exact issue.

@matcornic
Copy link
Owner

Hello @alanef ,

Did you clone the theme recently ? #45 and #46 may cause problems if you did not refresh cache since the update.

Try refreshing cache on your browser (Shift+F5 on Windows, Cmd+R on Mac). This cache issue could be fixed with #47

By the way, I do not have the problem on my Chrome (58.0.3029.96 (64-bit)).

@alanef
Copy link
Author

alanef commented Jun 8, 2017

Thanks for getting back to me.

It seems I had quite an old version of the theme, I used GitLab continuous integration to build and deploy. For some reason, submodiules are the way ti get this running - but I can't recall - some error occurs if you git clone a sub directory.

By adding
git submodule update --recursive --remote
before my build, pulls the latest version.

And it works.

@alanef alanef closed this as completed Jun 8, 2017
patrick-othmer pushed a commit to patrick-othmer/hugo-theme-learn that referenced this issue Oct 7, 2021
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

2 participants