New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useInfiniteScroll doesn't work with window
#3060
Comments
will fix soon |
5 tasks
Probably fixed by #3086, will re-open if next release doesn't actually fix the issue. Thanks @smallnine9 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using
useInfiniteScroll
withwindow
triggers an exception:Uncaught TypeError: Window.getComputedStyle: Argument 1 does not implement interface Element.
I think the issue appeared with d3a2bca. It uses
useScroll
which usesgetComputedStyle
onwindow.documentElement
which is illegal, hence triggering the error.Reproduction
https://stackblitz.com/edit/vitejs-vite-5dmbm2?file=src/App.vue
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: