Skip to content

fix: keep modals open when activating Nuxt Component Inspector - #7

Open
lviobio wants to merge 1 commit into
lonetis:mainfrom
lviobio:dev/fix-component-inspector-modal-dismissal-pr
Open

lviobio wants to merge 1 commit into
lonetis:mainfrom
lviobio:dev/fix-component-inspector-modal-dismissal-pr

Conversation

@lviobio

@lviobio lviobio commented Oct 10, 2026 •

Copy link
Copy Markdown

Activating Nuxt Component Inspector while a modal is open dismisses the modal because Reka UI treats the DevTools toolbar click as an outside interaction.

Add a development-only plugin that prevents DevTools interactions from dismissing overlays and keeps the inspector panel clickable while a modal is open.

Validation:

  • Playwright regression passed: inspector activation, component selection, and inspector panel dismissal preserve the account modal and unsaved fields.
  • Closing the modal with its Close button, Escape, or a backdrop click still works.

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