Skip to content

Commit

Permalink
Try to keep the height of raw request textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
0140454 committed Oct 26, 2024
1 parent 1ec896d commit e7936d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/RequestPanelRaw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ export default defineComponent({
/* Events */
const onBlur = () => {
isEditing = false
requestWatcher(props.modelValue)
if (rawRequestInput.value.$el?.offsetHeight) {
requestWatcher(props.modelValue)
}
}
const onFocus = (event: FocusEvent) => {
Expand Down

0 comments on commit e7936d0

Please sign in to comment.