`showOnCreate` prop not working for component using slots
turijs opened this issue · 0 comments
turijs commented
If I set up a simple tippy like this,
<Tippy
:show-on-create="true"
>
<button>trigger</button>
<template #content>
hello tippy
</template>
</Tippy>
the popup is not shown initially, despite the showOnCreate
prop. It looks like this is because the default implementation for onShow
returns false
if the content
prop is not set. But in this case I am using a slot instead of the content prop.
Thanks!