Skip to content

Hand focus back to the field on a press in every browser - #86549

Merged
ellatrix merged 10 commits into
trunkfrom
try/click-handover-all-browsers
Nov 10, 2026
Merged

ellatrix merged 10 commits into
trunkfrom
try/click-handover-all-browsers

Conversation

@ellatrix

@ellatrix ellatrix commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

What?

An alternative to #86279, to compare. #86279 stays the iOS-only fix for 7.2 Beta 5. This branch is built on #86279, so the diff includes its changes.

Here, the early switch from #86279 runs in every browser and for every pointer, not only on an iOS touch: on a press into a block that can't use the canvas as its editing host, the canvas stops being the host and focus goes back to the field with the caret, before the browser handles the press.

Why?

One code path for every browser means the desktop e2e tests cover it on every CI run, not only the single iOS job.

It also fixes desktop Firefox: clicking from a heading into a quote paragraph or an image caption leaves the caret behind. The new e2e tests fail in Firefox without this change (3 of 3 runs) and pass with it.

How?

useClickSelection's pointerdown handler no longer checks for iOS and touch. Shift-click still selects across blocks: the mousedown handler makes the canvas the host again for it. Only a touch makes the canvas the host again when it's cancelled (a scroll): a mouse press is also cancelled when a native drag starts, like dragging an image.

Testing Instructions

Open in Playground: a post with a heading, a quote and an image with a caption, open in the editor.

  1. In Firefox, click the end of the heading "Rules I follow".
  2. Click the end of the quote's text and type.
  3. Click the end of the heading again, then click the end of the image caption and type.

On trunk, Firefox selects the whole quote or image and the text is lost. With this PR, it goes where you clicked.

New e2e tests in test/e2e/specs/editor/various/editable-root.spec.js, run in Chromium, Firefox and WebKit:

  • Click from a heading into a quote paragraph: fails in Firefox without the change.
  • Shift-click from a heading into a quote paragraph selects both blocks.
  • Click from a heading into an image caption: fails in Firefox without the change.
  • Drag an image from a heading, then Backspace deletes it: fails in Chromium and Firefox if a mouse cancel makes the canvas the host again.

Locally, the iOS selection tests pass on iOS 27.0 and 26.5, except the handle test on 27.0, which fails there without this change too.

Testing Instructions for Keyboard

Keyboard selection is unchanged: the change only runs on a pointer press.

Screenshots or screencast

In Firefox: click the end of the heading, click the end of the quote, type " Plan for it.".

Before After
firefox-before.mp4
firefox-after.mp4

Use of AI Tools

Written with Claude Code, from #86279: dropped the iOS checks, added the e2e tests, and checked which fail without the change.

🤖 Generated with Claude Code

ellatrix and others added 8 commits November 3, 2026 16:26
…n iframe

Where the canvas is not in an iframe (GutenbergKit, the widgets screen), a
tap from a block the canvas hosts into one edited on its own element lost
the caret: iOS placed it inside the focused editing host, then moved it out
once focus went to the tapped block. Give focus back to the field with the
caret when the touch starts, so iOS handles a tap from one field into
another.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ap-without-iframe

# Conflicts:
#	test/ios/SafariTests/SelectionTests.swift
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Try for comparison with #86279: run the early switch for every browser
and pointer, so desktop e2e tests cover it. Adds e2e tests for a click
and Shift-click from a heading into a quote, and a click into a caption.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks in CI whether the early switch on a press makes it unneeded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground Preview in Storybook

🎉 Props

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ellatrix <ellatrix@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

📦 Bundle size

Size Change: +86 B (0%)

Total Size: 8.63 MB

📦 View Changed
Filename Size Change
build/scripts/block-editor/index.min.js 545 kB +86 B (+0.02%)

f2d27aa Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 9a82f14 trunk % Change
timeToFirstByte 48.3 ms +5.9% -4.35% 49.55 ms +2.42% -4.34% -2.52%
largestContentfulPaint 88 ms +2.27% -9.09% 82 ms +2.44% -2.44% 7.32%
lcpMinusTtfb 35.55 ms +17.58% -12.66% 32.7 ms +5.35% -6.73% 8.72%
wpBeforeTemplate 24.17 ms +10.88% -2.81% 24.66 ms +7.22% -2.43% -1.99%
wpTemplate 19.87 ms +3.37% -4.18% 19.91 ms +6.28% -2.66% -0.2%
wpTotal 43.92 ms +8.17% -3.14% 45.89 ms +2.27% -4.66% -4.29%
wpMemoryUsage 7.72 MB +0% -0% 7.69 MB +0% -0% 0.43%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 9a82f14 trunk % Change
timeToFirstByte 39.25 ms +0.89% -1.66% 40 ms +2% -3.75% -1.87%
largestContentfulPaint 88 ms +4.55% -0% 90 ms +2.22% -2.22% -2.22%
lcpMinusTtfb 49.4 ms +4.35% -1.32% 50.1 ms +3.79% -3.59% -1.4%
wpBeforeTemplate 20.82 ms +2.16% -1.44% 21.07 ms +4.41% -2.33% -1.19%
wpTemplate 14.95 ms +3.55% -3.55% 15.35 ms +5.21% -5.73% -2.61%
wpTotal 36.11 ms +1.02% -1.86% 36.98 ms +1.87% -4.6% -2.35%
wpMemoryUsage 6.41 MB +0% -0% 6.38 MB +0% -0% 0.53%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 9a82f14 trunk % Change
mediaProcessingJpeg 390 ms +1.08% -0.71% 386.92 ms +0.75% -0.47% 0.8%
mediaProcessingAvif 5711.18 ms +0.15% -0.66% 5690.43 ms +0.14% -0.29% 0.36%
mediaProcessingJpegToAvif 3878.43 ms +0.22% -0.17% 3888.77 ms +0.23% -0.24% -0.27%

media-upload

Metric 9a82f14 trunk % Change
jpegUploadProcessing 1455.1 ms +1.92% -0.7% 1452.38 ms +0.87% -0.1% 0.19%
pngUploadProcessing 236.3 ms +2.64% -2.09% 239.23 ms +2.85% -6.04% -1.22%
largeJpegUploadProcessing 1450.26 ms +1.26% -0.36% 1452.54 ms +1.08% -0.71% -0.16%
multipleImageUploadProcessing 1583.16 ms +0.79% -1.41% 1616.47 ms +28.46% -0.76% -2.06%

post-editor

Metric 9a82f14 trunk % Change
serverResponse 465.25 ms +8.54% -4.78% 493.97 ms +0.48% -3.94% -5.81%
firstPaint 370.97 ms +38.68% -14.64% 342.4 ms +44.07% -20.04% 8.34%
domContentLoaded 877.81 ms +1.81% -1.85% 874.28 ms +2.17% -0.78% 0.4%
loaded 879.05 ms +1.8% -1.87% 875.55 ms +2.16% -0.79% 0.4%
firstContentfulPaint 514.77 ms +3.99% -1.09% 509.97 ms +2.48% -1.72% 0.94%
firstBlock 2256.97 ms +2.28% -0.53% 2280.8 ms +1.06% -1.7% -1.04%
type 17.36 ms +5.93% -11.23% 20.17 ms +12.15% -14.68% -13.93%
typeWithoutInspector 17.54 ms +5.25% -6.9% 18 ms +5.5% -0.94% -2.56%
typeWithTopToolbar 23.03 ms +5.43% -8.29% 22.14 ms +12.83% -9.12% 4.02%
typeContainer 8.64 ms +11.34% -10.3% 8.39 ms +15.61% -5.96% 2.98%
focus 123.04 ms +7.92% -3.54% 126.31 ms +5.51% -5.43% -2.59%
firstFocus 261.4 ms +0% -0% 263.49 ms +0% -0% -0.79%
selectAll 424.65 ms +0.16% -1.48% 424.44 ms +1.58% -1.28% 0.05%
undo 31.07 ms +4.31% -4.06% 31.06 ms +3.35% -7.02% 0.03%
listViewOpen 80.92 ms +9.97% -5.72% 78.57 ms +2.2% -4.8% 2.99%
inserterOpen 45.53 ms +5.82% -4.2% 41.35 ms +9.94% -5.61% 10.11%
inserterHover 12.07 ms +6.13% -5.05% 12.06 ms +5.31% -13.68% 0.08%
inserterSearch 8.1 ms +10.99% -0.99% 8.06 ms +7.2% -8.81% 0.5%
loadPatterns 662.58 ms +3.03% -3.55% 644.88 ms +8.38% -5.37% 2.74%
wpTotal 455.3 ms +8.76% -5.08% 484.21 ms +0.46% -4.05% -5.97%
wpMemoryUsage 14.77 MB +0% -0% 14.74 MB +0% -0% 0.24%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric 9a82f14 trunk % Change
serverResponse 383.29 ms +5.64% -3.04% 404.83 ms +0.62% -0.81% -5.32%
firstPaint 353.71 ms +21.44% -13.41% 330.52 ms +10.37% -10.47% 7.02%
domContentLoaded 858.08 ms +2.43% -1.09% 850.19 ms +0.52% -0.97% 0.93%
loaded 859.23 ms +2.4% -1.09% 851.26 ms +0.5% -0.97% 0.94%
firstContentfulPaint 487.39 ms +2.51% -1.48% 480.05 ms +0.86% -0.59% 1.53%
firstBlock 2477.41 ms +9.67% -0.54% 2451.63 ms +1.38% -0.23% 1.05%
type 17.89 ms +6.99% -11.57% 18.54 ms +5.88% -9.22% -3.51%
navigate 117.13 ms +3.16% -2.31% 110.65 ms +1.5% -2.23% 5.86%
loadPatterns 1118.96 ms +16.03% -7.12% 1133.01 ms +28.23% -3.91% -1.24%
loadPages 973.43 ms +2.47% -0.99% 968.03 ms +1.42% -0.6% 0.56%
wpTotal 374.22 ms +5.73% -3.54% 395.59 ms +0.68% -0.94% -5.4%
wpMemoryUsage 12.79 MB +0% -0% 12.75 MB +0% -0% 0.27%
wpDbQueries 45 +0% -0% 45 +0% -0% 0%

f2d27aa Run

🏁 Flaky tests

Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

Page List converts to Navigation Links with entity bindings in /test/e2e/specs/editor/blocks/navigation.spec.js, passed after 1 failed attempt.
Error: expect(locator).toContainText(expected) failed

Locator: getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ })
Expected substring: "test-page-1"
Received string:    "Link to:Cat/catPagePublished"
Timeout: 5000ms

Call log:
  - Expect "toContainText" getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ }) with timeout 5000ms
  - waiting for getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ })
    14 × locator resolved to <button type="button" aria-expanded="false" aria-haspopup="dialog" class="components-button link-preview-button is-next-40px-default-size is-secondary">…</button>
       - unexpected value "Link to:Cat/catPagePublished"

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1949:31
Undo restores the post selection when another synced entity is loaded (RTC WebSocket) in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 1,
+   "offset": 1,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5
Undo restores the post selection when another synced entity is loaded in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 4,
+   "offset": 4,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5
should undo without broken temporary state in /test/e2e/specs/editor/blocks/image.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 2
+ Received  + 2

- <!-- wp:image -->
- <figure class="wp-block-image"><img alt=""/></figure>
+ <!-- wp:image {"id":20,"sizeSlug":"full","linkDestination":"none"} -->
+ <figure class="wp-block-image size-full"><img src="http://localhost:8891/wp-content/uploads/2026/11/203d6c2b-b07b-44db-90d9-91f2626d1b23.png" alt="" class="wp-image-20"/></figure>
  <!-- /wp:image -->
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:432:49

f2d27aa Run

@github-actions github-actions Bot added the [Package] Block editor /packages/block-editor label Nov 10, 2026
ellatrix and others added 2 commits November 9, 2026 20:15
13 e2e tests fail without it, in Chromium, Firefox and WebKit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A native drag of a mouse press fires pointercancel, which made the
wrapper the editing host again with an image selected, so Backspace
no longer deleted it. Also gives the Firefox reason for the switch and
uses exact block names in the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ellatrix
ellatrix marked this pull request as ready for review November 10, 2026 05:14
@ellatrix ellatrix added the Backport to WP 7.2 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Nov 10, 2026
@ellatrix ellatrix changed the title Try: Hand focus back to the field on a press in every browser Hand focus back to the field on a press in every browser Nov 10, 2026
@ellatrix ellatrix added the [Type] Regression Related to a regression in the latest release label Nov 10, 2026
@ellatrix
ellatrix merged commit 92c43cd into trunk Nov 10, 2026
137 of 141 checks passed
@ellatrix
ellatrix deleted the try/click-handover-all-browsers branch November 10, 2026 05:33
@github-actions github-actions Bot added this to the Gutenberg 24.5 milestone Nov 10, 2026
@github-actions github-actions Bot removed the Backport to WP 7.2 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Nov 10, 2026
gutenbergplugin pushed a commit that referenced this pull request Nov 10, 2026
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: dcalhoun <dpcalhoun@git.wordpress.org>
@github-actions github-actions Bot added the Backported to WP Core Pull request that has been successfully merged into WP Core label Nov 10, 2026
@github-actions

Copy link
Copy Markdown

I just cherry-picked this PR to the wp/7.2 branch to get it included in the next release: 34485b5

wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Nov 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65379 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Nov 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.
Built from https://develop.svn.wordpress.org/trunk@65379


git-svn-id: http://core.svn.wordpress.org/trunk@64518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
arshidkv12 pushed a commit to arshidkv12/wordpress-develop that referenced this pull request Nov 21, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65379 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backported to WP Core Pull request that has been successfully merged into WP Core [Package] Block editor /packages/block-editor [Type] Regression Related to a regression in the latest release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant