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

fix(ui5-li-notification): It is now possible to not have a description #2744

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

vladitasev
Copy link
Contributor

Since description is the default slot of type Node, there are usually at least some whitespaces such as new lines that go into that slot, so it is never empty, unless in the following marginal use case:

<ui5-li-notification></ui5-li-notification>

Then the component used to fail since there is no description DOM.

@vladitasev vladitasev merged commit ef35f84 into master Jan 29, 2021
@vladitasev vladitasev deleted the notif-no-desc branch January 29, 2021 06:52
alexandar-mitsev pushed a commit to alexandar-mitsev/ui5-webcomponents that referenced this pull request Feb 1, 2021
NHristov-sap pushed a commit to NHristov-sap/ui5-webcomponents that referenced this pull request Feb 9, 2021
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

Successfully merging this pull request may close these issues.

2 participants