
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
overflow-scroller
Advanced tools
A simple package that allows you to easily implement a horizontal scroll with previous and next arrows for desktop users.
#Overflow Scroller
Overflow Scroller is a simple package of CSS and javascript that harnesses the simple overflow: auto
behavior allowing for swipeability at mobile and on touch enabled devices (trackpads, magic mouse). On desktop devices it is enhanced to have previous and next arrows that control the scrolling. View the Demo here
There are a couple dependencies, it will work fine without them but it provides a better experience & performance if they are added.
Overflow scroller only requires a simple set of items in a div to get started, the use the css the containing div should have a class name of overflow-scroller
The HTML is pretty simple. A div with a collection of items that are ideally all the same height.
<div class="overflow-scroller">
<div class="child-item">...</div>
<div class="child-item">...</div>
<div class="child-item">...</div>
....
</div>
Overflow scroller is written as a jQuery plugin, there are a few options you can pass to it as well.
$('.overflow-scroller').overflowScroller();
//passing options
$('.overflow-scroller').overflowScroller({
scrollPercentage: .9,
scrollSpeed: 400,
snapPoints: false
});
Feel free to overwrite the styles to your liking. There is a provided .less file and .css file. We use the less file to build the css file.
Note: all child elements must have a width declared in CSS. The width can be a fixed pixel value or a % width of the container.
Before creating a pull request make sure to edit the .less file and then run:
lessc overflow-scroller.less overflow-scroller.css
FAQs
A simple package that allows you to easily implement a horizontal scroll with previous and next arrows for desktop users.
The npm package overflow-scroller receives a total of 0 weekly downloads. As such, overflow-scroller popularity was classified as not popular.
We found that overflow-scroller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.