We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, i got error item is undefined, here my environtment system Environtment:
item is undefined
The code :
<SlickList axis="y" v-model:list="col.cards" class="space-y-2 overflow-y-auto overflow-x-hidden max-h-96" :group="col.column" :accept="true"> <SlickItem v-for="(item, i) in col.cards" :key="i" :index="i" class="bg-slate-200 rounded-md px-3 py-4 flex gap-2 group hover:bg-slate-300"> <h1 class="grow text-sm font-lights">{{ item.title }}</h1> <button @click="delItems(index, i)" class="group-hover:visible invisible grow-0"> <font-awesome-icon :icon="['fas', 'pen-to-square']" size="sm" class=""></font-awesome-icon> </button> </SlickItem> </SlickList>
item is undefined when using group-hover in button
group-hover
button
and the cards array element that got deleted became null
cards
when i remove the group-hover:visible invisible from button, the error gone
group-hover:visible invisible
<SlickList axis="y" v-model:list="col.cards" class="space-y-2 overflow-y-auto overflow-x-hidden max-h-96" :group="col.column" :accept="true"> <SlickItem v-for="(item, i) in col.cards" :key="i" :index="i" class="bg-slate-200 rounded-md px-3 py-4 flex gap-2 group hover:bg-slate-300"> <h1 class="grow text-sm font-lights">{{ item.title }}</h1> <button @click="delItems(index, i)" class="grow-0"> <font-awesome-icon :icon="['fas', 'pen-to-square']" size="sm" class=""></font-awesome-icon> </button> </SlickItem> </SlickList>
any idea why this happened ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, i got error
item is undefined
, here my environtment systemEnvirontment:
The code :
item is undefined
when usinggroup-hover
inbutton
and the
cards
array element that got deleted became nullwhen i remove the
group-hover:visible invisible
frombutton
, the error goneany idea why this happened ?
The text was updated successfully, but these errors were encountered: