Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70818

Ionic 6 Infinite scroll bug with Vue Vite

$
0
0

Hi !

Recently I tried to implement Ionic Infinite Scroll, which would fetch data from axios, but faced with an issue, it just doesn’t work out. Seems like an integrational issue with Ionic itself. Same code works fine with Vue Cli. Checked everything and noticed, that problem might be with positional property. Perhaps it just doesnt detects event when viewport hits the bottom of container, eventually data doesnt fetches

I’ve recreated problem here : Stackblitz

Package JSON :

“dependencies”: {

"@ionic/vue": "^6.0.11",

"@ionic/vue-router": "^6.0.11",

"@vue/compiler-sfc": "^3.2.31",

"axios": "^0.26.1",

"vue": "^3.2.25",

"vue-router": "^4.0.14"

},

“devDependencies”: {

"@vitejs/plugin-vue": "^2.2.0",

"vite": "^2.8.0"

}

Literally same code, but with Vue Cli: github

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>