8000 v-for not re-rendering multiple computed values when associated data is changed. · Issue #240 · nativescript-vue/nativescript-vue · GitHub
[go: up one dir, main page]

Skip to content
v-for not re-rendering multiple computed values when associated data is changed. #240
Closed
@kharysharpe

Description

@kharysharpe

Version

1.3.1

Reproduction link

https://play.nativescript.org/?template=play-vue&id=H8Tsz0&v=11https://play.nativescript.org/?template=play-vue&id=H8Tsz0&v=11https://play.nativescript.org/?template=play-vue&id=H8Tsz0&v=11https://play.nativescript.org/?template=play-vue&id=H8Tsz0&v=11

Platform and OS info

iOS 11.3.1 / NativeScript 3 ( & 4) / MacOS 10.13.4

Steps to reproduce

  1. Search for "foo"
  2. then search for "bar"

What is expected?

The list to show all titles in the 3 lists that contain bar

What is actually happening?

Fails on second search.

Partial Logs:

[iPhoneTestDevice]: 'You are searching for [Foo]'
[iPhoneTestDevice]: '{NSVue (Vue: 2.5.13 | NSVue: 1.3.1)} -> ParentNode(ElementNode(stacklayout))'
[iPhoneTestDevice]: '{NSVue (Vue: 2.5.13 | NSVue: 1.3.1)} -> RemoveChild(ElementNode(stacklayout), ElementNode(stacklayout))'
[iPhoneTestDevice]: '{NSVue (Vue: 2.5.13 | NSVue: 1.3.1)} -> ParentNode(ElementNode(stacklayout))'
[iPhoneTestDevice]: '{NSVue (Vue: 2.5.13 | NSVue: 1.3.1)} -> ParentNode(ElementNode(stacklayout))'
[iPhoneTestDevice]: '{NSVue (Vue: 2.5.13 | NSVue: 1.3.1)} -> RemoveChild(ElementNode(stacklayout), ElementNode(stacklayout))'
[iPhoneTestDevice]: '{NSVue (Vue: 2.5.13 | NSVue: 1.3.1)} -> RemoveChild(ElementNode(stacklayout), ElementNode(stacklayout))'
[iPhoneTestDevice]: 'You are searching for [Bar]'
[iPhoneTestDevice]: ERROR: [Vue warn]: Error in nextTick: "Error: Can't insert child, because it is already a child."


Attempting to display 3 lists that are filtered based on a single keyword.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects
    3071

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0