diff --git a/packages/block-library/src/image/index.php b/packages/block-library/src/image/index.php index 739f2e77f032c..d6cb068814496 100644 --- a/packages/block-library/src/image/index.php +++ b/packages/block-library/src/image/index.php @@ -272,7 +272,9 @@ function block_core_image_render_lightbox( $block_content, $block ) { aria-modal="false" data-wp-effect="effects.core.image.initLightbox" data-wp-on--keydown="actions.core.image.handleKeydown" + data-wp-on--touchstart="actions.core.image.handleTouchStart" data-wp-on--touchmove="actions.core.image.handleTouchMove" + data-wp-on--touchend="actions.core.image.handleTouchEnd" data-wp-on--click="actions.core.image.hideLightbox" >