mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-24 14:48:41 +01: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:
parent
fa8ec4267f
commit
31ecc281a8
@ -146,6 +146,9 @@ export default class CodeEditor extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
if (this.editor) {
|
||||||
|
this.editor.refresh()
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<StyledWrapper
|
<StyledWrapper
|
||||||
className="h-full w-full"
|
className="h-full w-full"
|
||||||
|
Loading…
Reference in New Issue
Block a user