Page MenuHomePhabricator

When loading a page with inlines, don't select/focus inlines which we immediately upgrade to "editing"
ClosedPublic

Authored by epriestley on May 4 2020, 8:37 PM.
Tags
None
Referenced Files
F19093202: D21217.diff
Dec 3 2025, 8:46 PM
F19057348: D21217.diff
Nov 28 2025, 10:16 PM
F18868303: D21217.id.diff
Nov 4 2025, 5:48 AM
F18862774: D21217.diff
Nov 2 2025, 8:41 PM
F18821396: D21217.id50533.diff
Oct 22 2025, 10:48 PM
F18745929: D21217.id.diff
Oct 3 2025, 10:24 AM
F18673303: D21217.id50530.diff
Sep 25 2025, 10:08 AM
F18627716: D21217.diff
Sep 16 2025, 4:36 AM
Subscribers
None

Details

Summary

Ref T13513. This is a bit clumsy, but the cleanest way to implement "isEditing" inlines today is to send them down as normal inlines and then simulate clicking "edit" on them.

When we do, don't focus the resulting editor: focusing it makes the page scroll around and highlight things in essentially random order as the editors load in.

Test Plan

Reloaded a page with some open editors, wasn't scrolled to them.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 4 2020, 10:15 PM
This revision was automatically updated to reflect the committed changes.