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 empty user bubble #2236

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Fix empty user bubble #2236

merged 1 commit into from
Sep 14, 2021

Conversation

raimund-schluessler
Copy link
Contributor

@raimund-schluessler raimund-schluessler commented Sep 13, 2021

Fixes #2200. Supersedes #2234.

The problem was that we use a div in case the default slot is empty and then <template #trigger> is simply not rendered anymore.
I introduced a component which just renders a div as a wrapper for the #trigger slot in case the default slot is empty.

UserBubble without default slot on netlify:
Screenshot 2021-09-13 at 22-25-02 Nextcloud Vue Style Guide

Signed-off-by: Raimund Schlüßler <[email protected]>
@raimund-schluessler raimund-schluessler added 3. to review Waiting for reviews bug Something isn't working feature: userbubble Related to the userbubble component regression Regression of a previous working feature labels Sep 13, 2021
@raimund-schluessler raimund-schluessler added this to the 4.1.1 milestone Sep 13, 2021
@raimund-schluessler raimund-schluessler marked this pull request as ready for review September 13, 2021 20:22
Copy link
Contributor

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the issue

@raimund-schluessler
Copy link
Contributor Author

/backport to stable4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: userbubble Related to the userbubble component regression Regression of a previous working feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UserBubble is empty in v4.1.0
3 participants