0👍
I found that the issue was: the child component’s transition was not completed and I was running some function in parent component to make child component’s transition item condition true
without using $nextTick
but now I did like below code and the issue got fixed.
<script>
export default {
methods: {
someFnInParent () {
this.$nextTick(() => {
this.$refs.childComp.someCondition = true
})
}
}
}
</script>
So, this.$nextTick(() => {})
helped me 🙂
- [Vuejs]-“blocked by CORS policy” error with https://streamlabs.com/api/v1.0 endpoint
- [Vuejs]-Vue.js vuetify : test-utils w Jest how to match text when using icon
Source:stackexchange.com