diff options
Diffstat (limited to 'net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx')
| -rw-r--r-- | net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx b/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx new file mode 100644 index 000000000000..de3c4fb0d787 --- /dev/null +++ b/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx @@ -0,0 +1,11 @@ +--- ts/components/SearchInput.dom.tsx.orig 2022-12-04 09:59:26 UTC ++++ ts/components/SearchInput.dom.tsx +@@ -67,7 +67,7 @@ export const SearchInput = forwardRef<HTMLInputElement + const { ctrlKey, key } = event; + + // On Linux, this key combo selects all text. +- if (window.platform === 'linux' && ctrlKey && key === '/') { ++ if ((window.platform === 'freebsd' || window.platform === 'linux') && ctrlKey && key === '/') { + event.preventDefault(); + event.stopPropagation(); + } else if (key === 'Escape' && onClear) { |
