ember-paper: Download-href doesn't work in paper-dialog

If I have a link to download a file from the backend, inside an dialog e.g.

{{#paper-dialog fullscreen=true onClose=(action "close") clickOutsideToClose=true}}
  {{#paper-dialog-content}}
    Dialog-Content
  {{/paper-dialog-content}}
  {{#paper-dialog-actions class="layout-row layout-align-space-around"}}
    <a class="flex-30 paper-button md-button md-raised download-button" href="/api/export/drivers" download>download</a>
  {{/paper-dialog-actions}}
{{/paper-dialog}}

It dosn’t trigger the download. When it’s outside the dialog, it works fine.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 20 (20 by maintainers)

Commits related to this issue

Most upvoted comments

@BennyAlex in your package.json you can have "ember-paper": "miguelcobain/ember-paper#some-commit-sha-or-tag-here.

But, like I said, I released alpha 4.