ajomuch92/vue3-tailwind-elements

TeAccordion: TypeError: S is undefined

Opened this issue · 0 comments

wug-ge commented

Hi!

Good to see there is a Vue 3 Version of this available!
Using te-accordion I'm getting the following Error:
"Uncaught (in promise) TypeError: S is undefined"

Coming from this line: (S = "ref" after transpiling and it can't access scrollHeight)

return itemsOpened.value.includes(key) ? { maxHeight: `${ref.scrollHeight}px` } : {}

I haven't had time to debug the issue, but the same code worked fine with Vue 2. Maybe someone has an idea what causes this issue.