Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: snapping when user typing in bulk editor with empty lines in between
Andrew Bastin9454a983da90
diff --git a/packages/hoppscotch-app/components/http/Headers.vue b/packages/hoppscotch-app/components/http/Headers.vueindex 4ce0ac799..d2dd01a07 100644--- a/packages/hoppscotch-app/components/http/Headers.vue+++ b/packages/hoppscotch-app/components/http/Headers.vue@@ -252,6 +252,9 @@ watch(bulkHeaders, () => {}})watch(workingHeaders, (newHeadersList) => {+ // If we are in bulk mode, don't apply direct changes+ if (bulkMode.value) return+try {const currentBulkHeaders = bulkHeaders.value.split("\n").map((item) => ({key: item.substring(0, item.indexOf(":")).trimLeft().replace(/^\/\//, ""),