Chat queue arrow keys stop navigating after collapse and expand

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In Chat, queued follow-up messages can be moved with the arrow keys. After the queue is collapsed and expanded again, the arrow keys no longer move between queue items.

Steps to Reproduce

  1. In Agent chat, queue at least two follow-up messages so the queue list is visible.
  2. Use the arrow keys to move between queue items. This works.
  3. Collapse the queue, then expand it again.
  4. Press the arrow keys.

The arrow keys no longer switch queue items.

Expected Behavior

Arrow keys still move between queue items after the queue is collapsed and expanded.

Operating System

MacOS

Version Information

Version: 3.24.18
Commit: be4c9e5350d7

For AI issues: which model did you use?

Not model-specific

Additional Information

This is the follow-up message queue in the chat composer, not the @ mention candidate list.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @cscs, thanks for the report and the clear steps!

My guess is that clicking the queue header to collapse it takes keyboard focus off the queue list, and expanding it again doesn’t put focus back. So the arrow keys have nothing to act on until focus returns to the input or the list.

Could you try this and tell me what happens?

  1. Queue at least two follow-up messages so the queue list is visible.
  2. Click the “Queued Messages” header to collapse it.
  3. Click the header again to expand it.
  4. Click inside the empty chat input box.
  5. Press the Up arrow key.

Does the selection move back into the queue, and do Up/Down work between items again? Also, please let me know if you’re using the chat panel in the editor or the Agents Window.

In the meantime, clicking into the empty input box (or onto a queued message) after expanding should get arrow navigation working again.