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

FlexItem does not accept HTMLAttributes like title anymore #7783

Closed
ghost opened this issue May 22, 2024 · 2 comments · Fixed by #7792
Closed

FlexItem does not accept HTMLAttributes like title anymore #7783

ghost opened this issue May 22, 2024 · 2 comments · Fixed by #7792
Assignees
Labels

Comments

@ghost
Copy link

ghost commented May 22, 2024

Describe the bug
EuiFlexItem gives TS error "Type '{ children: Element; title: string; grow: false; }' is not assignable to type". HTMLAttributes can not be assigned to EuiFlexItem anymore. Also "component" attribute does not accept values like "div" and "span" due to TS errors.

@ghost ghost added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels May 22, 2024
@tkajtoch tkajtoch removed the ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible label May 28, 2024
@tkajtoch
Copy link
Member

Hi @irudyi-carecloud, thanks for reporting the issue!

I confirmed some less common usages of EuiFlexItem may lead to the error you describe. I believe I fixed it as part of #7792, but to be sure it covers all use cases, could you please provide reproduction steps for the bug you're seeing?

@tkajtoch tkajtoch self-assigned this May 28, 2024
@ghost
Copy link
Author

ghost commented May 30, 2024

@tkajtoch yes, it works fine in the latest release, thank you!

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

Successfully merging a pull request may close this issue.

1 participant