scroll-into-viewscroll-into-view-if-needed
- Repository stars
- 1,451Star
- All-time
- #32,701 all time
- Fork
- 78 Fork
- Repository created
- since 2016
Element.scrollIntoView ponyfills for things like "if-needed" and "smooth"
TypeFrameworks & SDKsPurposeDeveloper ToolsGeneral Libraries & UtilitiesLanguageJavaScriptLicenseMIT
Commercial use OKMIT; keep the license notice
Actively maintainedLast push 11 days ago
About
scroll-into-view-if-needed fills in if-needed and smooth scrolling behaviors for Element.scrollIntoView.
It suits frontend cases that need controlled element scroll positioning. It supports block and inline alignment plus the scrollMode option.
Summarized by AI from the READMEREADME
As of 2026-11-12, scroll-into-view/scroll-into-view-if-needed has 1,451 GitHub stars and 78 forks. Written mainly in JavaScript; licensed under MIT; last pushed on 2026-11-11.Record updated: