mirror of
https://github.com/usebruno/bruno.git
synced 2025-07-10 01:07:27 +02:00
Fix response/body cursor offset on resize
Now response/body will be refresh each time it gets resized so the cursor always stays in the right place.
This commit is contained in:
@ -146,6 +146,9 @@ export default class CodeEditor extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
if (this.editor) {
|
||||
this.editor.refresh()
|
||||
}
|
||||
return (
|
||||
<StyledWrapper
|
||||
className="h-full w-full"
|
||||
|
Reference in New Issue
Block a user