Add option to focus a treelist widget on clicks to the container (#1489997)