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:
n00o 2023-10-30 20:10:36 -04:00
parent fa8ec4267f
commit 31ecc281a8

View File

@ -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"