Closed seb3s closed 4 years ago
Can you provide a minimal example project that recreates your issue? We need more information to be able to help here :)
Yes, I've submitted a bit to quickly ;-) I was missing some ids on the nodes that have the phx-hook as specified in the documentation. It gets properly triggered when I added these ids. At first it functions without the ids when the dom structure is not the same, so that's the reason why I get confused.
Environment
Actual behavior
phx-hook doesn't get triggered on morphdom updates when sharing a similar dom structure
Expected behavior
should be triggered ;-)