svelte-grid
svelte-grid copied to clipboard
Exception on other.js > getColumn
Hi @vaheqelyan
I found a run time exception that impedes loading the items on the svelte-grid.
This happens with svelte-grid version 3.6.5 and 4.0.0 (just upgraded and tested) when I resize the window with a svelte-grid component loaded on the UI.
(https://github.com/frantic0/sema-next/blob/editors/src/pages/playground/index.svelte)[https://github.com/frantic0/sema-next/blob/editors/src/pages/playground/index.svelte]
I am on mobile, can't access the file
are you referring to the image that I posted?
nope, I mean the link (https://github.com/frantic0/sema-next/blob/editors/src/pages/playground/index.svelte) [https://github.com/frantic0/sema-next/blob /editors/src/pages/playground/index.svelte] which you included in the description
I mean, if a value cannot be iterated, then it must be undefined
. what the columns are equal to, in the debug session ?
you're right, it is undefined. I think this is related to https://github.com/vaheqelyan/svelte-grid/issues/78, where if we don't express a cols config ([resolution, columns])) and resize a window to exceed that resolution that exception pops-up