Make modal easier to close if there is only one image
This commit is contained in:
parent
e74482d84b
commit
274d384572
3 changed files with 13 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
class="modal-image-container"
|
||||
:direction="swipeDirection"
|
||||
:threshold="swipeThreshold"
|
||||
:disable-click-threshold="swipeDisableClickThreshold"
|
||||
@preview-requested="handleSwipePreview"
|
||||
@swipe-finished="handleSwipeEnd"
|
||||
@swipeless-clicked="hide"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue