Comfy-Org / Comfy-Org/ComfyUI_frontend

feat: add keyboard navigation support for DisplayCarousel via node selection

Open
#9,776 0 comments 0 reactions 1 assignee Claimed by @dante01yoon View on GitHub
area:nodes area:ui enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

## Summary

DisplayCarousel keyboard navigation currently only responds to `focusin`/`focusout` on its own containers. When used inside vueNodes, node selection alone should be enough to expose gallery controls and drive left/right navigation without requiring inner focus.

## Context

Identified during review of #9712. Scoped out as a separate enhancement.

## Acceptance Criteria

- Node selection activates gallery keyboard controls
- Left/right arrow keys navigate images when node is selected
- Works without requiring explicit focus on the carousel container

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-9776-feat-add-keyboard-navigation-support-for-DisplayCarousel-via-node-selection-3216d73d365081c198f2f5e6072437a5) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.