From b0874a0912ee97b11047bb2bd7d370b93c298d2a Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 19 Dec 2023 20:54:10 +0100 Subject: [PATCH] [GITEA] Downgrade @github/combobox-nav - The v2.3.0 update caused to always scroll to the suggestion menu, where it previously wouldn't work at all or only scroll when it wasn't in the viewport. - Ref: https://github.com/github/text-expander-element/issues/50 - Ref: https://github.com/github/combobox-nav/pull/75 - Resolves #1990 (cherry picked from commit 27145be211ff782afe0910adbe200f126961f150) --- package-lock.json | 10 +++++----- package.json | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0de9dd5ea4..1e5a07b214 100644 --- a/package-lock.json +++ b/package-lock.json @@ -999,11 +999,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@github/combobox-nav": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@github/combobox-nav/-/combobox-nav-2.3.0.tgz", - "integrity": "sha512-5CX03DbsLZ41dX5hKHyQKtg133U6lruX4TD9G0Zs4W8BpWy7lN8DJ6TYaeZN/V7x8K34coaqNYk/Y5ic7stfkg==" - }, "node_modules/@github/markdown-toolbar-element": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@github/markdown-toolbar-element/-/markdown-toolbar-element-2.2.1.tgz", @@ -1022,6 +1017,11 @@ "@github/combobox-nav": "^2.0.2" } }, + "node_modules/@github/text-expander-element/node_modules/@github/combobox-nav": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@github/combobox-nav/-/combobox-nav-2.2.0.tgz", + "integrity": "sha512-28kJUfzzPDYNyYsFCP/be8aXvEpjcEuciVENZlopcaUynS/4Pt9ll88Kl9l1D1Vy6a9+k+Km/YGJQ1e+gzG7SQ==" + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.11", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", diff --git a/package.json b/package.json index 2672067b35..baafe536fa 100644 --- a/package.json +++ b/package.json @@ -82,6 +82,9 @@ "vite-string-plugin": "1.1.2", "vitest": "0.34.6" }, + "overrides": { + "@github/combobox-nav": "2.2.0" + }, "browserslist": [ "defaults", "not ie > 0",