Skip to content

Morphing fails when refreshing after turbo stream #1393

@AlphonseSantoro

Description

@AlphonseSantoro

Came across a bug when calling the action turbo_stream.action(:refresh, nil, type: 'morph'), when the form is submitted and this refresh action is called i get this error:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'id')
    at removeElementFromAncestorsIdMaps

Which seems very much like this issue in idiomorph, any chance that we can bump idiomorph to 0.7.3 to get that fix inn?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions