Since the custom select has a width: 100% here the custom select goes to a new line when there is a label:

I've added a sr-only class to the label on #26615 to fix the docs.
If an author wants to use a label with a custom element they can use the form-inline class on the form element and it'll work just fine, but not with Auto-sizing.