8000 App crashes while using v-if inside the RadListView's template · Issue #1182 · ProgressNS/nativescript-ui-feedback · GitHub
[go: up one dir, main page]

Skip to content
App crashes while using v-if inside the RadListView's template #1182
Open
nativescript-vue/nativescript-vue
#554
@tsonevn

Description

@tsonevn

RadListView will crash on scroll, while displaying elements inside the ListView's template dynamically while using v-if.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • nativescript-ui-listview: 7.0.1
  • CLI: 6.0.0
  • Cross-platform modules: 6.0.0
  • Runtime(s): 6.0.0

Please tell us how to recreate the issue in as much detail as possible.

  1. Start the application
  2. Start scrolling up and down

Workaround

Replace v-if with visibility. For example:
v-if="item.isImportant" -> :visibility="item.isImportant ? 'visible' : 'collapsed'"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0