When using a custom targetAttributeForScope callback, target (dis)connected callbacks no longer work. This seems to be because TargetObserver hardcodes the default attribute format:
|
private get attributeName() { |
|
return `data-${this.context.identifier}-target` |
|
} |
All target properties on the controller ([name]Target, has[Name]Target, etc) do work as expected.