Skip to content

fix(image-expander): render lightbox above navbar - #10

Merged
carllosnc merged 18 commits into
masterfrom
fix/image-expander-overlay
Nov 1, 2026
Merged

carllosnc merged 18 commits into
masterfrom
fix/image-expander-overlay

Conversation

@carllosnc

Copy link
Copy Markdown
Owner

The ImageExpander lightbox used z-[100] and rendered inline, so the sticky Navbar (z-[1000]) covered the overlay and hid the close button.

  • Render the dialog via createPortal into document.body (same pattern as Modal/Drawer)
  • Raise .image-expander__dialog to z-[1100]
  • Add role=dialog, aria-modal, aria-label and a labeled close button

bun run check:all passes locally.

Render the dialog via createPortal into document.body and raise z-index to 1100 (Modal level) so the sticky Navbar (z-1000) no longer covers the overlay and close button. Adds dialog ARIA attributes.
@netlify

netlify Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for dashkit ready!

Name Link
🔨 Latest commit 21568f9
🔍 Latest deploy log https://app.netlify.com/projects/dashkit/deploys/6ae77f32b2640cc1bd0ebf1d
😎 Deploy Preview https://deploy-preview-10--dashkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@carllosnc
carllosnc merged commit 81e9b09 into master Nov 1, 2026
5 checks passed
@carllosnc
carllosnc deleted the fix/image-expander-overlay branch November 1, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant