Skip to content

Conversation

arashsheyda
Copy link
Member

click on iframe was not closing the DockingPanel component,
is this ok or should we go with something more like this?

<button
  i-logos-nuxt-icon my3 h-6 w-6 pb-2 text-lg
  :class="client ? '' : 'saturate-0'"
  :title="client ? 'Nuxt DevTools' : 'DevTools Client not connected, try open it in iframe mode'"
  @click="show = !show"
/>
<Teleport to="body">
  <div ref="panel" v-lazy-show="show" absolute left-15 top-2 z-100 border border-base rounded text-black shadow bg-base dark:text-white>
    <!-- needs to be triangle shape -->
    <div absolute left--2 top-3 h-2 w-2 border="l t b base" bg-base />
    <DockingPanel ml2 />
  </div>
</Teleport>

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.

2 participants