Intelligent readonly editor updates, to preserve scroll

This commit is contained in:
Gregory Schier
2024-10-14 10:40:09 -07:00
parent 8090e67b9e
commit dffe6e0a16
3 changed files with 28 additions and 3 deletions

View File

@@ -90,7 +90,6 @@ function ActualEventStreamViewer({ response }: Props) {
) : (
<Editor
readOnly
forceUpdateKey={activeEvent.id ?? activeEvent.data}
defaultValue={tryFormatJson(activeEvent.data)}
language={language}
/>