Open Cuacha07 opened 5 years ago
getting the same thing
resolved by wrapping alert in container with v-show
but that eliminates the need for active
and is redundant
same issue but v-show
didn't help me
at the moment, the only solution that I found is to comment out a the next piece of code in vuesax.common.js , VsAlert component into mounted:
var _this = this; this.$nextTick(function () { var h = _this.$refs.alert.scrollHeight; _this.$refs.alert.style.height = h + 'px'; });
I know that this is not entirely correct, but so far this is the only way that has solved the error problem for me
Same issue here, when vs-alert is inside v-if...v-else it throws this error.
Getting an error on vs-alert component when "active" prop is false.
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'scrollHeight' of undefined" found in ---> at vsAlert.vue