atmosphere explorer pds.ls
tool typescript atproto
423
fork

Configure Feed

Select the types of activity you want to include in your feed.

prevent homepage pasting behavior when modal opened

Juliet f769965a 4698a710

+1
+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 + if (document.querySelector("[data-modal]")) return; 95 96 96 97 const pastedText = e.clipboardData?.getData("text"); 97 98 if (pastedText) processInput(pastedText);