@notis_ai/cli 0.2.0-beta.187.1 → 0.2.0-beta.191.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -196,7 +196,8 @@ export function isEditableShortcutEvent(event: Event): boolean {
|
|
|
196
196
|
return true;
|
|
197
197
|
}
|
|
198
198
|
if (tag === 'A' && target.hasAttribute('href')) return true;
|
|
199
|
-
|
|
199
|
+
// A focused separator (a resizable edge) owns its arrow keys.
|
|
200
|
+
return ['button', 'link', 'menuitem', 'separator', 'switch', 'tab'].includes(
|
|
200
201
|
target.getAttribute('role') || '',
|
|
201
202
|
);
|
|
202
203
|
});
|