Comfy-Org / Comfy-Org/ComfyUI_frontend

[DevTask] Smooth transition of selection toolbox when selection goes out of view

Open
#2,610 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/2608

How figma board handles the selection view transition:

- By default the toolbox is on the top of the selection, but if the top of selection of out of view, the toolbox is moved to the bottom of the selection

https://github.com/user-attachments/assets/8ed2c206-f4d5-4b1d-a142-44d0eaeac9de

- If the whole selection is going out of view, the toolbox will try to keep in view first.

https://github.com/user-attachments/assets/2690d847-0764-43cc-a6eb-ba453b8239c5

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-2610-DevTask-Smooth-transition-of-selection-toolbox-when-selection-goes-out-of-view-19e6d73d36508123aae1de176e0f35f9) 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.