Even the Supreme Court has said, in more than one ruling, that you can’t do what the President is openly doing in preselecting his nominee.
People of many colors and political stripes aren’t ok with race- and gender-set asides.
By his criteria, you couldn’t even nominate Thurgood Marshall or Ruth Bader Ginsburg.
All politicians pander. Some are just really bad at it.