Skip to content

Setting TabView androidTabsPosition to bottom does not disable slide animation #6787

Closed

Description

@enwi

Environment

  • CLI: 5.0.3
  • Cross-platform modules: 5.1.0
  • Android Runtime: 5.1.0
  • iOS Runtime: 5.1.0
  • Plugin(s):
    │ nativescript-angular │ ~7.0.0 │
    │ nativescript-localstorage │ ^2.0.0 │
    │ nativescript-theme-core │ ~1.0.4 │
    │ nativescript-ui-listview │ ^5.0.1 │
    │ nativescript-ui-sidedrawer │ ^5.1.0 │
    │ nativescript-websockets │ ^1.5.3 │

Describe the bug
After setting the androidTabsPosition to bottom and changing the tab index using the selectedIndex property the slide animation is still shown. If the tab is changed using the TabView itself, the animation is not shown, which should be the expected behavior. This will only affect Android devices.

To Reproduce
Hit the CHANGE TAB VIA NGMODEL button in the demo below and the tab is switched with a slide animation.

Expected behavior
Hitting the CHANGE TAB VIA NGMODEL button should change the tab, but not show the slide animation.

Sample project
Sample

Additional context

Activity

  1. changed the title [-]Setting TabView androidTabsPosition to bottom does not disable swipe animation[/-] [+]Setting TabView androidTabsPosition to bottom does not disable slide animation[/+] on Jan 14, 2019
  2. ycherniavskyi commented on May 1, 2019

    @ycherniavskyi
    Contributor

    It seems that this issue already had fixed by me in #6942.

  3. ghost removed on May 9, 2019
  4. lock commented on May 20, 2020

    @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.

  5. locked and limited conversation to collaborators on May 20, 2020
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions