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

Avatar: default slot description note is missing CSS example #10583

Open
1 of 4 tasks
Lukas742 opened this issue Jan 17, 2025 · 1 comment
Open
1 of 4 tasks

Avatar: default slot description note is missing CSS example #10583

Lukas742 opened this issue Jan 17, 2025 · 1 comment
Labels
documentation This issue is about wrong documentation Low Prio TOPIC P

Comments

@Lukas742
Copy link
Collaborator

Issue Description

The description of the default slot of the Avatar component is missing the CSS example:

Receives the desired <img> tag
Note: If you experience flickering of the provided image, you can hide the component until it is being defined with the following CSS:

https://github.com/SAP/ui5-webcomponents/blob/main/packages/main/src/Avatar.ts#L213-L219

Issue Type

  • Documentation is unclear
  • Documentation is incorrect
  • Documentation is missing
  • Other
@IlianaB IlianaB added documentation This issue is about wrong documentation Low Prio TOPIC P labels Jan 17, 2025
@IlianaB
Copy link
Member

IlianaB commented Jan 17, 2025

Hello @ui5-webcomponents-topic-p , please have a look at this issue about missing documentation.

Missing part is the actual CSS:
ui5-avatar:not(:defined) {
visibility: hidden;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This issue is about wrong documentation Low Prio TOPIC P
Projects
Development

No branches or pull requests

2 participants