I always expected this to happen. If I were black, I would vote for the first viable black candidate. Nothing wrong with that, lots of Catholics voted for JFK for just this reason.
However, the deeper issue seems to me that Hillary has never run against competitive candidate before in her life and her campaign is having trouble dealing with that.