mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
id
This commit is contained in:
@@ -407,6 +407,11 @@ const FileViewer: React.FC<FileViewerProps> = ({
|
|||||||
open={!!moreMenuAnchorEl}
|
open={!!moreMenuAnchorEl}
|
||||||
onClose={handleMoreMenuClose}
|
onClose={handleMoreMenuClose}
|
||||||
anchorEl={moreMenuAnchorEl}
|
anchorEl={moreMenuAnchorEl}
|
||||||
|
slotProps={{
|
||||||
|
list: {
|
||||||
|
"aria-labelledby": moreMenuAnchorEl?.id,
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
Test
|
Test
|
||||||
</Menu>
|
</Menu>
|
||||||
|
@@ -617,6 +617,9 @@ export class FileViewerPhotoSwipe {
|
|||||||
isButton: true,
|
isButton: true,
|
||||||
html: createPSRegisterElementIconHTML("more"),
|
html: createPSRegisterElementIconHTML("more"),
|
||||||
onClick: (e) => onMore(currentAnnotatedFile(), e.target),
|
onClick: (e) => onMore(currentAnnotatedFile(), e.target),
|
||||||
|
onInit: (buttonElement) => {
|
||||||
|
buttonElement.id = "ente-pswp-show-more";
|
||||||
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user