Except when it comes to the presidency it doesn't. You cannot expect people to run for president, or presidents to govern, according to the popular will when they do not get elected by winning the national vote and cannot get re-elected by pleasing most of the people most of the time.
Maryland is considering a bill that allocates all its electors to the national vote winner if a Republican-leaning state does the same. This reaching across the aisle via legislation is a great way to produce the reform in the rules of running that can let the majority fairly, subject to constitutional protection of individual rights, get the policies and politics that are best for most people.
Can anyone think of any good reason not to applaud Maryland's leadership? And why wouldn't Republican Governor Larry Hogan want to sign, in fact want to champion this bill?