mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
* feat(request-pane): restore body tab scroll position on tab switch When editing large request bodies (JSON/XML/text/sparql), switching to another tab (params, headers, auth, etc.) and back would reset the CodeMirror editor scroll position to the top. Fix by persisting the scroll position to Redux on editor unmount (via CodeEditor's onScroll prop) and restoring it on mount (via initialScroll), mirroring the existing scroll restoration pattern in QueryResultPreview. * test: add playwright tests for body scroll restoration --------- Co-authored-by: naman-bruno <naman@usebruno.com>