bruno icon indicating copy to clipboard operation
bruno copied to clipboard

feat: Persist response body scroll position across tabs

Open terminal-overflow opened this issue 10 months ago • 2 comments

Description

Persists the response body's scroll position when changing tabs. When a user changes to another tab and then comes back to the original tab, the scroll position will be restored.

This aims to solve https://github.com/usebruno/bruno/issues/3147 and https://github.com/usebruno/bruno/issues/2742.

I appreciate there may be a few changes needed here needed but the general principle should be there.

Contribution Checklist:

  • [x] The pull request only addresses one issue or adds one feature.
  • [x] The pull request does not introduce any breaking changes
  • [x] I have added screenshots or gifs to help explain the change if applicable.
  • [x] I have read the contribution guidelines.

terminal-overflow avatar Jan 28 '25 18:01 terminal-overflow

I have noticed this issue where the response body's scrollbar duplicates itself and thought it was as a result of this PR. It isn't as this is reproducible on main. Marking the PR as ready for review. Screenshot 2025-01-28 at 18 45 58

terminal-overflow avatar Jan 28 '25 18:01 terminal-overflow

I've been looking for this feature, thanks for implementing it

ruicardoso-bx avatar May 15 '25 14:05 ruicardoso-bx

@terminal-overflow Now that the scroll position is persisted, is it possible to take a look at #874 (and duplicate #3431) to persist the response tree view collapse/expand state as well?

ThenTech avatar Sep 12 '25 22:09 ThenTech