this repo has no description
0
fork

Configure Feed

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

Potential fix for weird carousel bug on Firefox

+16
+5
src/app.css
··· 1121 1121 flex-grow: 1; 1122 1122 background-color: var(--backdrop-solid-color); 1123 1123 animation: appear 0.3s var(--timing-function) both; 1124 + transition: width 0.3s var(--timing-function); 1125 + 1126 + &:only-child { 1127 + width: 100%; 1128 + } 1124 1129 } 1125 1130 .media-modal-container.loading { 1126 1131 display: flex;
+11
src/pages/status.jsx
··· 142 142 } 143 143 }, [showMediaOnly, closeLink, snapStates.prevLocation]); 144 144 145 + useEffect(() => { 146 + let timer = setTimeout(() => { 147 + // carouselRef.current?.focus?.(); 148 + const $carousel = document.querySelector('.carousel'); 149 + if ($carousel) { 150 + $carousel.focus(); 151 + } 152 + }, 100); 153 + return () => clearTimeout(timer); 154 + }, [showMediaOnly]); 155 + 145 156 return ( 146 157 <div class="deck-backdrop"> 147 158 {showMedia ? (