tangled
alpha
login
or
join now
bas.sh
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atmosphere explorer
0
fork
atom
overview
issues
pulls
pipelines
prevent homepage pasting behavior when modal opened
handle.invalid
2 months ago
f769965a
4698a710
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+1
1 changed file
expand all
collapse all
unified
split
src
components
search.tsx
+1
src/components/search.tsx
···
92
92
const handlePaste = (e: ClipboardEvent) => {
93
93
if (e.target === searchInput) return;
94
94
if (e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement) return;
95
95
+
if (document.querySelector("[data-modal]")) return;
95
96
96
97
const pastedText = e.clipboardData?.getData("text");
97
98
if (pastedText) processInput(pastedText);