Skip to content

Tab Overflow Menu #4232

Answered by dosubot bot
richiethie asked this question in General
Discussion options

You must be logged in to vote

Hey @richiethie! I'm here to help you out with any coding bugs, questions, or contributions you might have. Let's tackle this issue together!

The issue you're encountering with the baseId being regenerated when a Tab moves between visibleTabs and overflowTabs can be addressed by ensuring that the baseId remains consistent across these state changes.

In the Paste design system, the useUID hook is typically used to generate unique IDs, but it can lead to new IDs being generated if the component is re-rendered or its state changes significantly. To maintain consistent IDs, you can use the useUIDSeed hook instead. This hook allows you to generate consistent IDs by using a seed value, ensurin…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by richiethie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants