Skip to content

Commit

Permalink
Merge pull request #1647 from nextcloud/bugfix/1645/dont-close-modal-…
Browse files Browse the repository at this point in the history
…on-mouseup

Don't close modal on mouseup
  • Loading branch information
skjnldsv authored Dec 29, 2020
2 parents 820875a + a3c3cb3 commit b1e14dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
spreadNavigation ? 'modal-wrapper--spread-navigation' : ''
]"
class="modal-wrapper"
@click.self="close">
@mousedown.self="close">
<!-- Navigation button -->
<transition name="fade-visibility">
<a v-show="hasPrevious && !clearView"
Expand Down

0 comments on commit b1e14dc

Please sign in to comment.