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

Tab indicator width counted incorrectly sometimes #493

Open
comonadd opened this issue Jan 7, 2022 · 0 comments
Open

Tab indicator width counted incorrectly sometimes #493

comonadd opened this issue Jan 7, 2022 · 0 comments

Comments

@comonadd
Copy link

comonadd commented Jan 7, 2022

Detailed description

Describe in detail the issue you're having.

Sometimes, the tab indicator offset & width are not calculated properly and result is displayed not where it's supposed to be.

Is this a feature request (new component, new icon), a bug, or a general issue?

This is a bug.

Is this issue related to a specific component?

Yes, it's related to Tabs & Tab.

What did you expect to happen? What happened instead? What would you like to see changed?

I expected the indicator to always match the width & offset of the current tab.

What browser are you working in?

Chrome.

What version of the WFP UI (Carbon Design System) are you using?

1.20.3

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

No.

Steps to reproduce the issue

Just use the Tabs component

https://codesandbox.io/s/elated-architecture-jdbcu?file=/src/App.js

Additional information

Peek 2022-01-07 17-02

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

1 participant