Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix sticky first-item highlight in file viewer menu

Anand Baburajanaa53f9414743
diff --git a/web/packages/gallery/components/viewer/FileViewer.tsx b/web/packages/gallery/components/viewer/FileViewer.tsx
index 876a4c550b..f6abb091c5 100644
--- a/web/packages/gallery/components/viewer/FileViewer.tsx
+++ b/web/packages/gallery/components/viewer/FileViewer.tsx
@@ -2624,6 +2624,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
onClose={handleMoreMenuCloseIfNeeded}
anchorEl={moreMenuAnchorEl}
id={moreMenuID}
+ disableAutoFocusItem
slotProps={{ list: { "aria-labelledby": moreButtonID } }}
>
{activeAnnotatedFile.annotation.showDownload == "menu" && (