this repo has no description
0
fork

Configure Feed

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

remove 100ms scrolling delay in lexicon schema view

Juliet 28b5578b d0c8bb28

+2 -6
+2 -6
src/components/lexicon-schema.tsx
··· 524 524 const hash = location.hash; 525 525 if (hash.startsWith("#schema:")) { 526 526 const defName = hash.slice(8); 527 - setTimeout(() => { 528 - const element = document.getElementById(`def-${defName}`); 529 - if (element) { 530 - element.scrollIntoView({ behavior: "instant", block: "start" }); 531 - } 532 - }, 100); 527 + const element = document.getElementById(`def-${defName}`); 528 + if (element) element.scrollIntoView({ behavior: "instant", block: "start" }); 533 529 } 534 530 }); 535 531