You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! Shoelace maintainer here 👋. The problem exists because morphing libraries never re-run the constructor function of the web component so it ends up not having the expected default properties.
the TLDR is that you need to provide all default attributes for the component up front in your server rendered HTML for it to work out of the box as expected.
Using
morph
refresh method (turbo 8 beta + turbo-rails 2 beta)Using shoelace web components library
turbo_stream_from @conversation
with
broadcasts_refreshes
in Conversation modelbuttons and other web component elements become ugly
how it should look like and how it properly works with current latest stable packages (turbo 7 + turbo-rails 1.5)
The text was updated successfully, but these errors were encountered: