this repo has no description
0
fork

Configure Feed

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

Prevent clicks on sandbox

+12 -6
-5
src/pages/sandbox.css
··· 77 77 78 78 > .status, 79 79 > *:not(.status-card-link) > .status { 80 - button, 81 - a { 82 - pointer-events: none; 83 - } 84 - 85 80 > .container > .meta { 86 81 view-transition-name: status-meta; 87 82 }
+12 -1
src/pages/sandbox.jsx
··· 679 679 </a> 680 680 <h1>Sandbox</h1> 681 681 </header> 682 - <div class="sandbox-preview"> 682 + <div 683 + class="sandbox-preview" 684 + onClickCapture={(e) => { 685 + const isAllowed = e.target.closest( 686 + '.media, .media-caption, .spoiler-button, .spoiler-media-button', 687 + ); 688 + if (isAllowed) return; 689 + e.preventDefault(); 690 + e.stopPropagation(); 691 + return false; 692 + }} 693 + > 683 694 <FilterContext.Provider value={'home'}> 684 695 {toggleState.loading ? ( 685 696 <Status