[Vuejs]-Browser was freeze when i update array items in v-for block

0👍

I found the problem. I have “computed” property and set value to parent app:

computed: {
            is_list_open: function () {
                this.$parent.list_opened = this.focused && this.items.length > 0 || (this.$refs.autocomplete ? this.$refs.autocomplete.show : false);
                return this.$parent.list_opened;
            }
        },

This is incorrect behavior.

Leave a comment