• epriestley's avatar
    When loading a page with inlines, don't select/focus inlines which we... · 3a762480
    epriestley authored
    When loading a page with inlines, don't select/focus inlines which we immediately upgrade to "editing"
    
    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.
    
    Maniphest Tasks: T13513
    
    Differential Revision: https://secure.phabricator.com/D21217
    3a762480
map.php 86.3 KB