Skip to content
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

Tabs Pane ink bar doesn't properly calculate width and position #39666

Closed
mrlubos opened this issue Dec 19, 2022 · 3 comments
Closed

Tabs Pane ink bar doesn't properly calculate width and position #39666

mrlubos opened this issue Dec 19, 2022 · 3 comments

Comments

@mrlubos
Copy link

mrlubos commented Dec 19, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Simple use of the <Tabs> component with changing label value.

What is expected?

Ink bar position is calculated correctly.

What is actually happening?

Ink bar position is calculated incorrectly. This used to work in v4

Environment Info
antd 5.0.7
React 18.2.0
System macOS 13.1
Browser Chrome 108.0.5359.124
@github-actions
Copy link
Contributor

@candy4290
Copy link
Contributor

candy4290 commented Dec 20, 2022

@afc163
Copy link
Member

afc163 commented Dec 20, 2022

Fixed in #39653

@afc163 afc163 closed this as completed Dec 20, 2022
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

No branches or pull requests

3 participants