Comments (6)
Ok, found it. I feel so stupid. I left the property scroll-behavior: smooth;
in my CSS a while back which was set on the HTML & Body tags. Sorry for wasting your time and thanks again for such an awesome plugin!
from scroll-plugin.
I have the same problem, I can't disable the animateScroll
from scroll-plugin.
Hi 👋 and thanks!
Unfortunately, I can't reproduce (works as expected for me with your setup). Could you provide and demo where we could check?
from scroll-plugin.
@gmrchk Hi Georgy, thank you for coming back to me.
I tried to isolate the issue by creating a new and very simple project and you are right, it works as expected in there.
This means I am not able to reproduce the issue outside the project I am working on, it probably has to do with some of the dependencies I am using or just a bug in my code. I will spend more time to try to find it. In case it is related to your work I will leave the solution on this ticket.
from scroll-plugin.
It kind of sounds like the old version of swup is running instead, which also includes scroll plugin within. Just an idea...
from scroll-plugin.
Ok, found it. I feel so stupid. I left the property
scroll-behavior: smooth;
in my CSS a while back which was set on the HTML & Body tags. Sorry for wasting your time and thanks again for such an awesome plugin!
I know it's years later, but I had the exact same experience. Turning off Swup's scrolling and navigating to another page, but scrolling still stuck at the bottom. I had scroll-behavior: smooth
on, as well. Turned that off, things worked just fine.
from scroll-plugin.
Related Issues (15)
- Scrolls to incorrect position on Firefox when using anchor link HOT 2
- Feature Idea: more fine-grained options for animateScroll HOT 3
- Feature Idea: Restore overflowing div's scroll position on popstate HOT 14
- Disable smooth scroll for certain links HOT 11
- `swup.scrollTo()` method needs review HOT 4
- Scroll control of elements on page HOT 3
- Add `ignore` option HOT 11
- Emulate `:target` to allow styling anchor element
- Make `shouldResetScrollPosition` work for non-link requests HOT 1
- Back button scroll restoration not working HOT 19
- A11y: allow disabling animated scroll from visit object HOT 1
- Scroll options not applied correctly HOT 1
- I'm not even sure if this is a issue, but I need help HOT 1
- [Bug]: Visit object `visit.from.url` and `visit.to.url` values incorrect on `scroll:end` lifecycle HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scroll-plugin.