this repo has no description
0
fork

Configure Feed

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

Experiment: unhide header when clicking on timeline items

+11
+11
src/components/timeline.jsx
··· 388 388 dotRef.current = node; 389 389 }} 390 390 tabIndex="-1" 391 + onClick={(e) => { 392 + // If click on timeline item, unhide header 393 + if ( 394 + headerRef.current && 395 + e.target.closest('.timeline-item, .timeline-item-alt') 396 + ) { 397 + setTimeout(() => { 398 + headerRef.current.hidden = false; 399 + }, 250); 400 + } 401 + }} 391 402 > 392 403 <div class="timeline-deck deck"> 393 404 <header