Skip to content

Body tab scroll position resets when switching request pane tabs or navigating between requests #7249

@Nizam-Chaudhary

Description

@Nizam-Chaudhary

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

This feature

  • blocks me from using Bruno
  • would improve my quality of life in Bruno
  • is something I've never seen an API client do before

Describe the feature you want to add, and how it would change your usage of Bruno

When working with large request bodies (JSON, XML, text, or SPARQL), the Body editor scroll position is lost in the following scenarios:

  1. Switching tab panels

    • Scrolling down in the Body editor and switching to another tab (Params, Headers, Auth, etc.) within the same request resets the editor to the top when returning to Body.
  2. Switching between requests

    • Navigating to a different API request tab (e.g., to copy an ID or check a value) and then returning to the original request also resets the Body editor scroll position.

Steps to Reproduce

Scenario 1 — Tab Panel Switch

  1. Open any HTTP request with a large body payload (JSON / XML / text / SPARQL)
  2. Scroll down in the Body editor
  3. Switch to another tab panel (e.g., Headers or Params)
  4. Switch back to the Body tab

Scenario 2 — Request Tab Switch

  1. Open any HTTP request with a large body payload
  2. Scroll down in the Body editor
  3. Click on a different request tab (e.g., to copy an ID or check a value)
  4. Switch back to the original request

Expected Behavior

The Body editor should remain at the previously scrolled position in both scenarios.


Actual Behavior

The Body editor resets to the top, losing the previous scroll position.

Mockups or Images of the feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions