Skip to content

exiting tab item fragment disappears on navigating away from tab page #6641

Closed

Description

@manoldonev

Environment

  • CLI: 5.0.2
  • Cross-platform modules: 5.0.5
  • Android Runtime: 5.0.0

Describe the bug
Exiting tab item fragment disappears instead of executing exit transition while navigating from page containing tabview to a different page. Going back to the tab page works as expected -- tab item fragment executes its enter transition properly. The type of the navigation transition does not matter (slide, fade, flip)

To Reproduce

  1. Tap "navigate to some page" -- notice how the "tab" part of the page disappears immediately instead of transitioning away

Expected behavior
"Tab" part of the page should transition away properly.

Sample project
https://play.nativescript.org/?template=play-tsc&id=BZfk8A&v=4 NOTE: use playground source files just for reference! (playground not updated to latest binares yet)

Use the attached zip to debug: NSPlayground.zip

Activity

  1. self-assigned this
    on Nov 30, 2018
  2. manoldonev commented on Dec 4, 2018

    @manoldonev
    ContributorAuthor

    Seems this is a known issue with nested fragments and support library apis: https://issuetracker.google.com/issues/36970570. Marked as won't fix, will try to work around it somehow.

  3. david-alexandre-lopes commented on Dec 4, 2018

    @david-alexandre-lopes

    Let us know if you find a work around in the meantime.

    edit:
    As stated in the above link, it appears this bug is old. How come it won't be fixed? Both work around solutions are rather hacky I suppose.

  4. ghost removed on Dec 12, 2018
  5. lock commented on Dec 12, 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 Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions