Skip to content

Commit d020977

Browse files
authored
fix: Zoom and ContextMenu not working (#53)
1 parent 6ec545a commit d020977

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/web/src/components/ui/photo-viewer/ProgressiveImage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export const ProgressiveImage = ({
129129
{/* 高分辨率图片 - 只在成功加载且非错误状态时显示 */}
130130
{highResLoaded && blobSrc && isCurrentImage && !error && (
131131
<div
132+
className="absolute inset-0 h-full w-full"
132133
onContextMenu={(e) => {
133134
const items = createContextMenuItems(blobSrc, alt, t)
134135
showContextMenu(items, e)

0 commit comments

Comments
 (0)