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
F14799800: D21217.id50533.diff
Sat, Jan 25, 7:31 AM
F14799799: D21217.id50530.diff
Sat, Jan 25, 7:31 AM
F14799798: D21217.id.diff
Sat, Jan 25, 7:31 AM
Unknown Object (File)
Tue, Jan 21, 9:43 AM
Unknown Object (File)
Sun, Jan 12, 12:37 PM
Unknown Object (File)
Dec 22 2024, 3:28 AM
Unknown Object (File)
Dec 17 2024, 9:01 AM
Unknown Object (File)
Dec 16 2024, 6:02 PM
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
Branch
focus1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24347
Build 33540: Run Core Tests
Build 33539: arc lint + arc unit

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.