Quasar: 1.3.0: QInfiniteScroll error / no initial load when initialized with empty array

Created on 2 Nov 2019  路  8Comments  路  Source: quasarframework/quasar

Describe the bug
QInfinite scroll doesn't trigger the initial @load, but throws errors when initialized with an empty array.

"[Vue warn]: Error in render: 'TypeError: Cannot read property 'concat' of undefined'"
"[Vue warn]: Error in mounted hook: 'TypeError: t.closest is not a function'

This worked pre-1.3.0.

Codepen/jsFiddle/Codesandbox (required)
https://codepen.io/lmfmaier/pen/qBBpKBz

Expected behavior
The component should trigger the initial @load

bug

All 8 comments

Hi,

Thanks for reporting!
Fix will be available in "quasar" v1.3.1.

Same here. My QInfiniteScroll is broken since 1.3.0.

The problem is not fixed yet ..
i tried theo new code ( commit 3b8af56098de884e4e98d80b49f31e289f6b9907 ) and there is a new error :
[Vue warn]: Error in render: "TypeError: Cannot read property 'push' of undefined"

@iJosephY please attach a stack trace

You mean this?

image

Did you compile your own quasar with the patch applied and used it in the project? Because the new release is not published yet.

@iJosephY u prolly updated only QInfiniteScrolll.js and missed out on the src/utils/slot.js update. Works just fine...

i'm so sorry
yeah it's working now

i was to lazy to compile quasar so i only updated the file ..

thank you <3

Was this page helpful?
0 / 5 - 0 ratings