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: render message avatars with Lit to keep them on items update #7240

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

web-padawan
Copy link
Member

Description

Fixes #6544

Currently, vaadin-message-list re-renders vaadin-message items using Lit render function and that discards slotted vaadin-avatar elements created by SlotController. Updated to include vaadin-avatar to the Lit template.

Type of change

  • Bugfix

@web-padawan web-padawan requested a review from vursen March 19, 2024 12:01
@web-padawan web-padawan force-pushed the fix/render-message-avatars branch from 6a1347f to 92a7160 Compare March 19, 2024 12:04
@web-padawan web-padawan force-pushed the fix/render-message-avatars branch from 92a7160 to 55295ed Compare March 19, 2024 12:07
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@web-padawan web-padawan changed the title fix: render message avatars with Lit keep them on items update fix: render message avatars with Lit to keep them on items update Mar 19, 2024
@web-padawan web-padawan removed the request for review from vursen March 19, 2024 13:46
@web-padawan web-padawan merged commit d12e573 into main Mar 19, 2024
9 checks passed
@web-padawan web-padawan deleted the fix/render-message-avatars branch March 19, 2024 13:46
web-padawan added a commit that referenced this pull request Mar 19, 2024
) (#7242)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha17 and is also targeting the upcoming stable 24.4.0 version.

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

Successfully merging this pull request may close these issues.

MessageList message loses avatar when updating text
3 participants