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