makikata
makikata
Yes it is because of SIP https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html > Spawning children processes of processes restricted by System Integrity Protection, such as by launching a helper process in a bundle with NSTask...
I worked it around somehow including `ActiveModel::Serializers::JSON` and overriding `read_attribute_for_serialization` ```ruby class Message < ApplicationRecord attribute :payload, MessagePayload.to_type end class MessagePayload include StoreModel::Model # Workaround for: https://github.com/DmitryTsepelev/store_model/issues/60#issuecomment-962668573 # `as_json` will...
So I found the issue. As Turbo does not reload the full page but replaces the body from the response in the XHR. `initiatedComponents` which was a global holds the...
So I found that we can use the v1.0.0 that has this nice fix: https://github.com/mdbootstrap/Tailwind-Elements/pull/1919/files Thank you!
@ponponwu I listen to `turbo:frame-render` if it is inside a turbo-frame ``` document.addEventListener('turbo:frame-render', initTailwindElement) ```
More investigation done. Setting `HSOverlay.openedItemsQty = 0;` in the event listener looks like it solves the issue. Though I am not sure this should be intended: Relying on a global...
@olegpix Thank you for the comment, I tried it and it is still occuring if I do not reset `HSOverlay.openedItemsQty = 0` Replacing/reinitiating the element is not the problem, it...