a tool for shared writing and social publishing
0
fork

Configure Feed

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

pass correct element to intersection observer in ios scroll handler

+3 -1
+3 -1
components/TextBlock/index.tsx
··· 77 77 className="h-full w-full absolute cursor-text" 78 78 onMouseDown={(e) => { 79 79 e.preventDefault(); 80 - let target = e.target; 81 80 focusBlock(props, { 82 81 type: "coord", 83 82 top: e.clientY, 84 83 left: e.clientX, 85 84 }); 86 85 setTimeout(async () => { 86 + let target = document.getElementById( 87 + elementId.block(props.entityID).container, 88 + ); 87 89 let vis = await isVisible(target as Element); 88 90 if (!vis) { 89 91 let parentEl = document.getElementById(