豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Tab not updating properly when state changes dynamically #584

@ritikkumar8z

Description

@ritikkumar8z

Hi team 👋,

I’m using react-tabs and noticed that when I update the tab index based on a dynamic state (like from an API or async action), sometimes the active tab doesn’t switch as expected.

Is there a recommended way to handle dynamic tab switching with updated state?

Thanks for the great package — really helpful in many projects! 🙌

— Ritik Kumar

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