diff --git a/docs/design/evidence/task-356-mention-after-1440.png b/docs/design/evidence/task-356-mention-after-1440.png new file mode 100644 index 000000000..b2d1ea9d7 Binary files /dev/null and b/docs/design/evidence/task-356-mention-after-1440.png differ diff --git a/docs/design/evidence/task-356-mention-after-390.png b/docs/design/evidence/task-356-mention-after-390.png new file mode 100644 index 000000000..ef8b0a339 Binary files /dev/null and b/docs/design/evidence/task-356-mention-after-390.png differ diff --git a/docs/design/evidence/task-356-mention-before-1440.png b/docs/design/evidence/task-356-mention-before-1440.png new file mode 100644 index 000000000..e7adc5f0b Binary files /dev/null and b/docs/design/evidence/task-356-mention-before-1440.png differ diff --git a/docs/design/evidence/task-356-mention-before-390.png b/docs/design/evidence/task-356-mention-before-390.png new file mode 100644 index 000000000..f68cb2846 Binary files /dev/null and b/docs/design/evidence/task-356-mention-before-390.png differ diff --git a/frontend/src/v2/__tests__/v2-layout-invariants.test.ts b/frontend/src/v2/__tests__/v2-layout-invariants.test.ts index 6e2a78a61..884fdfd8a 100644 --- a/frontend/src/v2/__tests__/v2-layout-invariants.test.ts +++ b/frontend/src/v2/__tests__/v2-layout-invariants.test.ts @@ -4603,4 +4603,19 @@ describe('BYO command boxes wrap at spaces', () => { expect(rule).toContain('overflow-wrap: anywhere'); expect(rule).not.toContain('word-break: break-all'); }); + + test('a mention item highlights on arrow-key and hover past the button reset', () => { + // `.v2-root button:not(.MuiButtonBase-root)` is 0,2,1 with background: none. + // The bare `.v2-mention-item--active` (0,1,0) and `:hover` (0,2,0) lose to it, + // so a