mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(use-data-scroll-overflow): missing checkOverflow (#5139)
This commit is contained in:
parent
2420acfe24
commit
51a0808824
5
.changeset/brave-cobras-lick.md
Normal file
5
.changeset/brave-cobras-lick.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/use-data-scroll-overflow": patch
|
||||
---
|
||||
|
||||
add missing `checkOverflow` (#4867)
|
||||
@ -142,6 +142,7 @@ export function useDataScrollOverflow(props: UseDataScrollOverflowProps = {}) {
|
||||
};
|
||||
|
||||
// auto
|
||||
checkOverflow();
|
||||
el.addEventListener("scroll", checkOverflow, true);
|
||||
|
||||
// controlled
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user