Skip to content

Is anyone else getting console warning: "[Vue warn]: $attrs is readonly" & "[Vue warn]: $listeners is readonly"? #121

@lmichetti3

Description

@lmichetti3

When I modify array data that vue-virtual-scroll-list renders, I get the following console warning:

[Vue warn]: $attrs is readonly
[Vue warn]: $listeners is readonly

Maybe unrelated, but from what I've read, this warning is often caused by a package (vue-virtual-scroll-list) calling a second instance of Vue. This warning only occurs if I use vue-virtual-scroll-list. I'm already calling vue in my main.js file like this:

import Vue from 'vue'

I'm just wondering if there's anyone that has encountered this warning and how to remove it. There aren't any noticeable issues, but the warning is annoying to see in my console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions