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
Time elements are only processed when a new node is added, which leaves existing elements in their raw form when using something like Turbo page refreshes with morphing.
The text was updated successfully, but these errors were encountered:
northeastprince
changed the title
Doesn't work with morphing
Existing elements change to their raw form when rerendered
Nov 30, 2023
Yes, we should fix this at the library: local_time should monitor mutations in the content so that it can reprocess the value when those happens. A workaround right now is flagging these tags with data-turbo-permanent, so that they don't get touch by morphing, and remain fully managed by JS.
Time elements are only processed when a new node is added, which leaves existing elements in their raw form when using something like Turbo page refreshes with morphing.
The text was updated successfully, but these errors were encountered: