Page MenuHomePhabricator

Moving focus from an inspector to outside the document does not blur the document
Open, Needs TriagePublic

Description

The current default behaviour for VE surfaces is that blurring the document (moving the focus outside of it) causes the selection to be set to null. This is made configurable in T208826, but not always disabled (notably in Flow and CX, where there are multiple VE surfaces on the screen).

In these cases it is currently possible to have multiple VE surfaces appears "focused", by opening the inspector before moving your selection to the next surface:

image.png (766×757 px, 59 KB)

Event Timeline

This is going to be quite hard to fix. Any events blur/mousedown that fire while the inspector is open could be non-document-blurring events because by a sub-dialog being opened.