Skip to content

Copy not working when in a modal  #1

@danaia

Description

@danaia

The copy function works when the 'markdown-preview' is on a page, but when i add it to a quasar q-dialog, the copy is not working. Nothing is getting added to the clipboard.

<q-dialog v-model="AIEvalBarDetailModal">
      <q-card>
        <AIEvalBarDetail />
      </q-card>
</q-dialog>

then in the dialog:

<div class="nav-main b-flex b-p-5 b-justify-between h-auto pb-10 overflow-auto">
     <markdown-preview :source="AIStore.sAIEvalDetail" />
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions