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

See some bugs when i refresh the page in google chrome #562

Open
CoderBaljit opened this issue Jul 13, 2024 · 2 comments
Open

See some bugs when i refresh the page in google chrome #562

CoderBaljit opened this issue Jul 13, 2024 · 2 comments

Comments

@CoderBaljit
Copy link

Hello 👋

when i refresh my website then locomotive stuck in the middle of window screen

when i refresh my website then locomotive stuck and all the website scroll are stuck and page are also stuck in the middle of screen when i try to refresh my web page for the bug's resolve but the bug are not resolve to resolve this bug i will again and again restart my projects, and these things are waste of time please send me solution's of these bug and how to stop it.

Thank you 👊

@jwinr
Copy link

jwinr commented Sep 15, 2024

I saw your site (assuming it’s the one linked on your GitHub), and noticed you’re using JavaScript. You’ll need to add a function to reset the scroll position to the top on page load. Something like window.scrollTo(0, 0) should handle it, though you’ll likely need to make sure Locomotive Scroll is aware of the change, too.

@CoderBaljit
Copy link
Author

CoderBaljit commented Sep 18, 2024 via email

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