Skip to content

Conversation

enguerranws
Copy link
Collaborator

@enguerranws enguerranws commented Sep 12, 2025

I noticed that at certain times, when we have tabs loaded asynchronously, the selected tab is not the correct one. For example, if we have 3 tabs, the second one is loaded asynchronously, and we have selected the third one, in the end, the second tab is the one selected in the interface.

I made a more simple approach (using useMemo instead of useState + useEffect), which works fine with both sync and async generated tabs.

@enguerranws enguerranws self-assigned this Sep 12, 2025
@enguerranws enguerranws changed the title fix/tabs component with async tabs Fix - Tabs component Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant