I'm trying to use this component with Quasar layouts.
Minimal example:
<template>
<q-layout>
<div class="layout-view">
<mugen-scroll :handler="fetchData">
loading...
</mugen-scroll>
</div>
</q-layout>
</template>
Results in this error:
[Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'addEventListener' of undefined"
found in
---> <MugenScroll>
<QLayout>
<Index> at /Users/pignatelli/src/test/infinite-test/src/components/Index.vue
<App> at /Users/pignatelli/src/test/infinite-test/src/App.vue
<Root>
Commenting out <q-layout></q-layout>
eliminates the error.
Any idea how to fix this?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too