Skip to content

initialPage is not working #1157

Open
Open

Description

@xizan

react-native-scrollable-tab-view
v1.0.0
This initialPage is useless. You can't jump.
How can i do it?

Activity

  1. HuXin957 commented on Oct 19, 2021

    @HuXin957

    附议

  2. mhendyl commented on Jun 30, 2023

    @mhendyl

    It's working fine in iOS only, not working in android

  3. xizan commented on Jun 30, 2023

    @xizan
    Author
  4. mhendyl commented on Jun 30, 2023

    @mhendyl

    this should be able to fix this bugs:

    set ref props for

    <ScrollableTabView
    ref={(ref) => { this.scrollableTabView = ref; }}
    >
    {list}

    then use setTimeOut (becaus scrollableTabView must be rendered first)
    setTimeout(() => {
    this.scrollableTabView.goToPage(index)
    }, 30);

  5. ThalesBMC commented on Aug 31, 2023

    @ThalesBMC

    this should be able to fix this bugs:

    set ref props for

    <ScrollableTabView ref={(ref) => { this.scrollableTabView = ref; }} > {list}

    then use setTimeOut (becaus scrollableTabView must be rendered first) setTimeout(() => { this.scrollableTabView.goToPage(index) }, 30);

    This solved for me

  6. xizan commented on Aug 31, 2023

    @xizan
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions