From 4c3bbbe9070eb2a5863948dc8751daebe94cde31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Thu, 4 Apr 2019 16:17:16 +0200 Subject: [PATCH] Fix DOM order so focus goes through remove control --- packages/block-library/src/gallery/gallery-image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/gallery/gallery-image.js b/packages/block-library/src/gallery/gallery-image.js index 9deae12a3ca02f..a3dfb8e1b3ad55 100644 --- a/packages/block-library/src/gallery/gallery-image.js +++ b/packages/block-library/src/gallery/gallery-image.js @@ -127,6 +127,7 @@ class GalleryImage extends Component { return (
+ { href ? { img } : img } { isSelected &&
} - { href ? { img } : img } { ( ! RichText.isEmpty( caption ) || isSelected ) ? (