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

[Feature]: Position handling for active tab indicator on vertical TabList #33183

Open
1 task done
mgostisha opened this issue Oct 31, 2024 · 2 comments
Open
1 task done

Comments

@mgostisha
Copy link

mgostisha commented Oct 31, 2024

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

Currently, the active tab indicator on Tablist with vertical: true is hard-coded to be on the left side of the tab. We're creating an experience with the vertical TabList on the right edge of the of UI, and it would be nice to be able to switch the active indicator to be on the right of the tabs.

Additional context

No response

Have you discussed this feature with our team

Geoff Cox

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

Low

@dmytrokirpa
Copy link
Contributor

Hello @mgostisha, thanks for bringing this to our attention.

Are you asking if we can support a feature similar to what's demonstrated in this example https://stackblitz.com/edit/umxkp3?file=src%2Fexample.tsx, directly through a property?

Currently, this functionality isn't included in the Fluent UI TabList specs. I will check with our Design Team to see if there has been any interest in adding this feature and if they're open to include it into the spec. In the meantime, you may need to rely on custom styling as a workaround.

@mgostisha
Copy link
Author

@dmytrokirpa yup! that's exactly how I've implemented it in our app for the time being as well. I'm fine with it, the only worry would be the internal implementation of the tab indicator changing and breaking the style overrides. If it's not supported officially that's okay, but wanted to submit a request for consideration.

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

No branches or pull requests

2 participants