kopia lustrzana https://github.com/cheeaun/phanpy
Don't need to focus on status after closing carousel
It causes unnecessary scrollpull/42/head
rodzic
8d609e14a6
commit
e4de6d1d22
|
@ -658,7 +658,6 @@ function Status({
|
||||||
index={showMediaModal}
|
index={showMediaModal}
|
||||||
onClose={() => {
|
onClose={() => {
|
||||||
setShowMediaModal(false);
|
setShowMediaModal(false);
|
||||||
statusRef.current?.focus();
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
Ładowanie…
Reference in New Issue