From cb5be52e26f1b3993a3be42965c919bdac164418 Mon Sep 17 00:00:00 2001 From: Hubert Olender Date: Mon, 18 May 2026 13:03:51 +0200 Subject: [PATCH] Document legacy action modifier interaction with component event handlers --- packages/@ember/-internals/glimmer/lib/component.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/@ember/-internals/glimmer/lib/component.ts b/packages/@ember/-internals/glimmer/lib/component.ts index f61e446f829..0c016ba7c09 100644 --- a/packages/@ember/-internals/glimmer/lib/component.ts +++ b/packages/@ember/-internals/glimmer/lib/component.ts @@ -784,6 +784,18 @@ declare const SIGNATURE: unique symbol; * `dragEnd` * `drop` + > **Note on legacy `{{action}}` usage:** In Ember versions where the legacy + > `{{action}}` modifier was available, classic component event handler methods + > could be combined with `{{action}}`, including action modifiers forwarded + > through `...attributes`. This combination relied on Ember's legacy event + > dispatching system and had subtle ordering semantics, particularly when + > handlers were placed on the same element versus nested elements. + > + > The `{{action}}` modifier was deprecated and is no longer available in + > current Ember. See the + > [template-action deprecation guide](https://deprecations.emberjs.com/id/template-action/) + > for migration details. Use the `{{on}}` modifier instead. + @class Component @extends Ember.CoreView @uses Ember.TargetActionSupport