Skip to content

Commit 5a5a27e

Browse files
mathis-mchar0n
authored andcommitted
fix(param-body): fix loosing focus in Try It when typing (#7548)
Originally reported as SWOS-418 Closes #7477
1 parent 8553943 commit 5a5a27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/param-body.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default class ParamBody extends PureComponent {
8686
const {consumesValue} = this.props
8787
const isXml = /xml/i.test(consumesValue)
8888
const inputValue = e.target.value
89-
this.onChange(inputValue, {isXml})
89+
this.onChange(inputValue, {isXml, isEditBox: this.state.isEditBox})
9090
}
9191

9292
toggleIsEditBox = () => this.setState( state => ({isEditBox: !state.isEditBox}))

0 commit comments

Comments
 (0)