src/vs/platform/actionWidget/browser/actionList.ts/ActionList/onListSelection
class ActionList:	private onListSelection(e: IListEvent<IListMenuItem<IActionItem>>): void {
		if (!e.elements.length) {
			return;
		}

		const element = e.elements[0];
		if (element.item && this.focusCondition(element)) {
			this._delegate.onSelect(element.item, e.browserEvent?.type === 'previewSelectedEventType');
		} else {
			this._list.setSelection([]);
		}
	}