Skip to content

Conversation

@LJX2017
Copy link
Contributor

@LJX2017 LJX2017 commented Nov 11, 2025

What changes were proposed in this PR?

This PR fixes the clickability issue of the "Add port" (+) and "Remove port" (-) buttons.

  1. Added transparent clickable rectangle overlay to port buttons: Added a element with fill="transparent" and pointer-events="all" to each port button SVG (add/remove input/output port buttons). This creates an invisible clickable area that matches the shape of the button's circle outline, making the entire button area clickable instead of just the thin "+", "o", or "-" symbols.

Any related issues, documentation, discussions?

Fixes #4028

How was this PR tested?

Manually tested.

2025-11-11.03-03-40.mp4

Was this PR authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added fix frontend Changes related to the frontend GUI labels Nov 11, 2025
@chenlica
Copy link
Contributor

@mengw15 Can you review it? After that, @aicam can review it.

@chenlica chenlica requested a review from aicam November 11, 2025 22:21
Copy link
Contributor

@mengw15 mengw15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yicong-Huang Yicong-Huang changed the title fix(ui): increased button clickability and shifted them downward. fix(ui): increased button clickability and shifted them downward Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

“Add port” (+) becomes hard to click when an operator has ≥3 ports

3 participants