-
Notifications
You must be signed in to change notification settings - Fork 190
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
$fromDOMEvent can't listening root self scroll event #87
Comments
|
@regou Is it not possible to add a |
|
should work :) |
the error I get when I try to do this with nuxt.js and I added it as a plugin is the window is not defined [Vue warn]: Error in created hook: "ReferenceError: window is not defined" |
I tried to listen for the scroll event on vm root, but it didn't work because $fromDOMEvent delegated the
scroll
event todocument.documentElement
, but thescroll
event didn't bubble up, please see the following demo:Any ideas?
environment
vue: v2.5.2
rxjs: v6.0
vue-rx: v6.0.0
chrome: v67
The text was updated successfully, but these errors were encountered: