Estamos enfrentando o mesmo problema, não ao reatribuir, mas ao atribuir no mobile. Assim que você abre o modal, ele estoura.
Uncaught (in promise) TypeError: can't access property "contains", t.targetElement is undefined
t select-kit-collection.gjs:20
c select-kit-collection.gjs:19
installModifier modifier-manager.ts:52
Ember 76
select-kit-collection.gjs:20:7
t select-kit-collection.gjs:20
some self-hosted:125
c select-kit-collection.gjs:19
installModifier modifier-manager.ts:52
Ember
Alterar locked.targetElement.contains(element) para locked?.targetElement.contains(element) remove o erro, mas ainda não permite digitar.