We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7321ff2 commit ce93c8dCopy full SHA for ce93c8d
src/components/Sticky/src/Sticky.vue
@@ -32,7 +32,7 @@ onMounted(() => {
32
33
scrollContainer.value = getScrollContainer(refSticky.value!, true)
34
useEventListener(scrollContainer, 'scroll', handleScroll)
35
- useEventListener('resize', handleReize)
+ useEventListener('resize', handleResize)
36
handleScroll()
37
})
38
onActivated(() => {
@@ -103,7 +103,7 @@ const handleScroll = () => {
103
reset()
104
}
105
106
-const handleReize = () => {
+const handleResize = () => {
107
if (isSticky.value && refSticky.value) {
108
width.value = refSticky.value.getBoundingClientRect().width + 'px'
109
0 commit comments