[Bug] ActionButton: Dropdown menu misaligned when clicking dropdown arrow
Open
@MAYANKSHARMA01010 is already working on this.
Since Aug 24, 2026.
kind/bug
- Dominant language
- TypeScript
- Stars
- 137
- Forks
- 239
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 5
Description
Current Behavior
In the ActionButton component, clicking the dropdown arrow opens the menu misaligned and shifted to the right.
This happens because the Popper anchors dynamically to event.currentTarget (the small arrow button) instead of the entire ButtonGroup.
Expected Behavior
The dropdown menu should always open at a consistent, aligned position under the ButtonGroup, whether the user clicks the primary button or the dropdown arrow button.
Root Cause
anchorElwas set toevent.currentTargetinsidehandleToggle, which points only to the arrow button on the right edge.ButtonGroupwas missing aref={anchorRef}.
Related Issue
- Meshery Issue: https://github.com/meshery/meshery/issues/21450
Environment
- Component:
@sistent/sistent(src/custom/ActionButton/ActionButton.tsx) - Consumers: Kanvas (MeshMap), Meshery UI
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.