smooth-scroll-into-view-if-needed icon indicating copy to clipboard operation
smooth-scroll-into-view-if-needed copied to clipboard

Smoothly scroll elements into view, cross browser!

Results 31 smooth-scroll-into-view-if-needed issues
Sort by recently updated
recently updated
newest added

add missing parameters: skipOverflowHiddenElements

I am trying to get a smooth scroll to an element with a sticky navigation bar. Overriding behavior (to add an offset) also overrides the smooth scroll. Can someone give...

When scrolling with this package with behavior = "smooth", skipOverflowHiddenElements is not passed down to scroll-into-view-if-needed making it misbehave code should extend and pass down all options while overwriting only...

Is this supposed to work with iframes? I have an iframe in my webpage that the main window has access to, but the scroll doesn't seem to work inside the...

Hi, Maybe I'm wrong, but it seems to me that changing function in `ease` option doesn't work properly. I've got horizontal navigation menu and even though I've changed default `ease`...

One of the things I wish I could do is alter the scrolling mechanism or skipping elements to scroll based on certain conditions, but the side-effect of attaching a function...

enhancement

Transitions can now be aborted by passing an abort signal, as defined by: https://dom.spec.whatwg.org/#aborting-ongoing-activities

This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest...

dependencies
lockFileMaintenance

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@sanity/pkg-utils](https://redirect.github.com/sanity-io/pkg-utils) | [`^2.2.8` -> `^2.4.10`](https://renovatebot.com/diffs/npm/@sanity%2fpkg-utils/2.2.8/2.4.10)...

📦 deps
🤖 bot