But that's the point... how?
It recognizes that when the user confirms they've finished entering their username by clicking some kind of button.
At which point either a password box is shown or the alternative mechanism is shown.
There's no way to know in advance. And it's a UX problem if a password box is shown by default, because then users who don't have passwords think there's a bug in accessing the resource (because they don't have a password).
If your password manager has a problem with filling in the username, then the problem is with your password manager, not with the login flow. Starting with username-only is an industry standard for any product used in enterprises.