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 Request]: Ability to adjust the size of Tabs Component #1983

Open
2 tasks done
vs-amzn opened this issue Feb 19, 2024 · 2 comments
Open
2 tasks done

[Feature Request]: Ability to adjust the size of Tabs Component #1983

vs-amzn opened this issue Feb 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@vs-amzn
Copy link

vs-amzn commented Feb 19, 2024

Description

I have a use case where I'm rendering a Tabs Component inside a Popover component. The issue that I'm running into is that the Tabs component is not easily resizable -- it's a bit of a challenge to make everything in the Tabs Component (text, button size, icon) the size I want. It would be nice if the component could expose a prop so that we can dynamically change the size of the component.

Code of Conduct

@vs-amzn vs-amzn added the enhancement New feature or request label Feb 19, 2024
@rubencarvalho
Copy link
Contributor

Hello,

Thank you for your feature request. We do not recommend using popovers for content that requires users to read a lot of text or focus for long periods of time. Please refer to our Popover guidelines. Instead, use a modal to better focus users' attention.
This should alleviate the need for customizing the Tabs components.

Let me know if that helped!

Thank you.

@vs-amzn
Copy link
Author

vs-amzn commented Feb 21, 2024

Thanks for the info!

Unfortunately our use case can't use a modal for this. The amount of information used in the tabs is pretty minimal / does not require focus for long periods of time.

Was wondering if there's a better approach around this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants