Skip to content

[S2] bar bellow the Tab does not update its width when text changes #8308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andreipavel102222 opened this issue May 27, 2025 · 0 comments · Fixed by #8311
Closed

[S2] bar bellow the Tab does not update its width when text changes #8308

andreipavel102222 opened this issue May 27, 2025 · 0 comments · Fixed by #8311

Comments

@andreipavel102222
Copy link
Contributor

Provide a general summary of the issue here

In the TabList, when the text of a tab changes, the line under the selected tab does not change its width.

🤔 Expected Behavior?

The line under the selected tab should change its width if the text changes.

😯 Current Behavior

Screen.Recording.2025-05-27.at.11.33.38.mov

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://codesandbox.io/p/devbox/falling-bush-wn6gml

Version

react-spectrum/s2: 0.8.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Mac

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant