@nextui-org/use-data-scroll-overflow
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -77,3 +77,3 @@ "use strict"; | ||
const clearOverflow = () => { | ||
["top", "bottom", "topBottom", "left", "right", "leftRight"].forEach((attr) => { | ||
["top", "bottom", "top-bottom", "left", "right", "left-right"].forEach((attr) => { | ||
el.removeAttribute(`data-${attr}-scroll`); | ||
@@ -80,0 +80,0 @@ }); |
{ | ||
"name": "@nextui-org/use-data-scroll-overflow", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "A hook to add data attributes when the element has top or bottom scroll.", | ||
@@ -55,3 +55,3 @@ "keywords": [ | ||
"build:fast": "tsup src", | ||
"dev": "yarn build:fast -- --watch", | ||
"dev": "pnpm build:fast --watch", | ||
"clean": "rimraf dist .turbo", | ||
@@ -58,0 +58,0 @@ "typecheck": "tsc --noEmit" |
Sorry, the diff of this file is not supported yet
12259