Skip to content

fix: Fix the lagged responsiveness of tabs with response actions - #45

Merged
arpit-bruno merged 6 commits into
usebruno:mainfrom
vasharma05-bruno:fix/response-tabs-with-actions
Aug 11, 2026
Merged

fix: Fix the lagged responsiveness of tabs with response actions#45
arpit-bruno merged 6 commits into
usebruno:mainfrom
vasharma05-bruno:fix/response-tabs-with-actions

Conversation

@vasharma05-bruno

@vasharma05-bruno vasharma05-bruno commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Description

Previously, the tab in the response pane, which displayed various actions like copy, clear and change layout, was manually managed for collapsing the tabs and the response action buttons. This was achieved by defining the space required for the right menu panel in the RESPONSE_ACTIONS_EXPANDED_WIDTH variable. However, this approach caused issues. My previous PR #31 added spacings to the element which broke the responsive tabs.

Now, the solution involves rendering invisible and non-interactive buttons. These buttons help determine the width of the expanded buttons and are subsequently used to make the tabs interactive.

@arpit-bruno
arpit-bruno merged commit 7e8de10 into usebruno:main Aug 11, 2026
2 checks passed
arpit-bruno pushed a commit that referenced this pull request Aug 11, 2026
* Match the hover state of Menu dropdown trigger to the Bruno app

* Fix the responsive action buttons collapse and tabs

* Restore stylings

* Fix the broken responsiveness

* Review changes

* Fix failing test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants