From fc0ae3f6c3ad667c033e80a59699471c3378e76f Mon Sep 17 00:00:00 2001 From: David Calhoun <438664+dcalhoun@users.noreply.github.com> Date: Fri, 18 Jun 2021 15:04:02 -0500 Subject: [PATCH 1/2] Fix incorrect block insertion point after blurring post title Selecting the title selection status within the same `useSelect` for reusable blocks caused the title selection status to become stale, due to the dependency array for the `useSelect` hook. The staleness caused the block insertion point to show up in the incorrect location after blurring the title text input. --- RELEASE-NOTES.txt | 1 + gutenberg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index edafe21977..840bfcc68c 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,5 +1,6 @@ Unreleased ------ +* [**] Fix incorrect block insertion point after blurring the post title field. [https://github.com/WordPress/gutenberg/pull/32831] * [*] Tablet view fixes for inserter button. https://github.com/wordpress-mobile/gutenberg-mobile/pull/3602 * [**] Fixed an issue where pressing enter inside a text-based block was not creating a new block when using Gboard [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3590] diff --git a/gutenberg b/gutenberg index 3ba2108f63..8f5443da23 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 3ba2108f636cd68fc16fc4c6564ebed8a487fd30 +Subproject commit 8f5443da2307f68e79ed4faa8a8c099e08a2dbec From 12cac370f8f3763452d283ec63b784cb13889230 Mon Sep 17 00:00:00 2001 From: David Calhoun <438664+dcalhoun@users.noreply.github.com> Date: Mon, 21 Jun 2021 11:22:28 -0500 Subject: [PATCH 2/2] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 8f5443da23..1074fb3219 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 8f5443da2307f68e79ed4faa8a8c099e08a2dbec +Subproject commit 1074fb3219fcf5f257b9bdeec1a0eb31a6b1ed19