Open Thomasan1999 opened 3 years ago
This issue has been marked as stale because it has required additional info or a response from the author for over 14 days. When you get the chance, please comment with the additional info requested. Otherwise, this issue will be closed in 14 days.
Detailed description
When I use CvModal component inside a slot, I get the
Uncaught TypeError: this.$refs.primary is undefined
incv-modal.vue:189
in theonShown
method. I think it is related to the slot content being rerendered and in thebeforeUpdate
hook the component slots beingundefined
. So thehasPrimary
property is set tofalse
in thecheckSlots
method and the primary button slot is not rendered in the template afterwards.Steps to reproduce the issue