Skip to content

when list is embedded in a tab, it sometimes crashes #57

@sigalalg1

Description

@sigalalg1

Thanks for the list code, it's very helpful!

I had a problem while using the list in a tab view. When I tried to move from another tab to this one, sometimes the list crashed in setScrollTop (something like: can't set attribute 'scrollTop' to an undefined object)
Can you add something like:

// set manual scroll top.
setScrollTop: function (scrollTop) {
if (!this.$refs || !this.$refs.vsl)
return;

            this.$refs.vsl.scrollTop = scrollTop
        },

I think that this is also necessary in onScroll

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions