We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3412a7 commit ae769eaCopy full SHA for ae769ea
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "use-vibes",
3
- "version": "0.4.12",
+ "version": "0.4.13",
4
"type": "module",
5
"description": "Transform any DOM element into an AI-powered micro-app",
6
"main": "dist/index.js",
src/components/ImgGenUtils/ImgGenDisplay.tsx
@@ -335,7 +335,10 @@ export function ImgGenDisplay({
335
<div className="imggen-image-container" style={{ position: 'relative', width: '100%' }}>
336
<button
337
className="imggen-expand-button"
338
- onClick={openFullscreen}
+ onClick={(e) => {
339
+ e.stopPropagation(); // Prevent click from propagating to parent elements
340
+ openFullscreen();
341
+ }}
342
title="Expand image"
343
aria-label="Expand image"
344
>
0 commit comments