Skip to content

ListView – Multiple item templates don't work inside a TabView #3963

Closed

Description

@hettiger

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Y

Tell us about the problem

Taking a working ListView implementation with multiple item templates as described in the documentation and putting it into a TabView will not work correctly. The page will be rendered white and no UI components are accessible via API.

Which platform(s) does your issue occur on?

Both

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

  • CLI: 3.0.0-rc.1
  • Cross-platform modules: 3.0.0-rc.1
  • Runtime(s): tns-ios: 3.0.0-rc.1-2017-3-28-2; tns-android: 3.0.0-rc.1

Please note that I initially found this bug running on 2.5. It would be really amazing if it was possible to get a hotfix for 2.5 as well but that's just me. :-)

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

Try to implement a ListView with multiple item templates inside a TabView item view.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Activity

  1. tsonevn commented on Apr 10, 2017

    @tsonevn
    Contributor

    Hi @hettiger ,
    Thank you for reporting this issue.
    I reviewed this case and was able to reproduce the problem. This issue is reproducible with NativeScript 2.5 and with @rc on both Android and iOS. I am attaching a sample project.

    Archive.zip

  2. added this to the milestone on Aug 29, 2017
  3. hshristov commented on Aug 29, 2017

    @hshristov
    Contributor

    @hettiger This is fixed with #4756

    Please try with tns-core-modules@next and let us know if this is still an issue.

  4. hettiger commented on Nov 1, 2017

    @hettiger
    ContributorAuthor

    @hshristov I'm sorry it took me so long to test the fix but I can now confirm everything's working fine with the new NativeScript release v3.3.

  5. lock commented on Aug 27, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  6. locked and limited conversation to collaborators on Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions