Describe the bug
When you select a block and the Settings sidebar is open, the Block tab is automatically selected.
When you deselect a block, the Document tab is then opened.
If you select a block, then click the Document tab, logically this should also deselect the block.
To Reproduce
Steps to reproduce the behavior:
- Click a block, observe the Block tab is opened
- Click the Documents tab, observe the block is not deselected
Expected behavior
Way back, in version 0.6 I think, we used something a similar feature to autoselect the block inspector when a block had focus. We used a "breadcrumb" style instead of tabs for the sidebar, the idea being that the sidebar was always contextual, and when you had no block selected you were at the document scope, when a block selected you dug into the block scope.
This behavior is now reinstated, although with tabs. But because deselecting a block automatically selects the Document tab, it feels like selecting the Document tab when a block is selected should logically also deselect the block.
Screenshots

Describe the bug
When you select a block and the Settings sidebar is open, the Block tab is automatically selected.
When you deselect a block, the Document tab is then opened.
If you select a block, then click the Document tab, logically this should also deselect the block.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Way back, in version 0.6 I think, we used something a similar feature to autoselect the block inspector when a block had focus. We used a "breadcrumb" style instead of tabs for the sidebar, the idea being that the sidebar was always contextual, and when you had no block selected you were at the document scope, when a block selected you dug into the block scope.
This behavior is now reinstated, although with tabs. But because deselecting a block automatically selects the Document tab, it feels like selecting the Document tab when a block is selected should logically also deselect the block.
Screenshots
