According to Wikipedia, 8 states and the District of Columbia have signed on to the National Popular Vote Interstate Compact. The gist of this compact is that ALL of the electoral votes for participating states will be given to the candidate that receives the most popular votes nationally. Granted, states are free to allocate their electoral votes as they see fit, under Article II, Section I of the United States Constitution.
I have no issue with the legality of this Compact. What bothers me is that it has the potential to invalidate the decision of that state's electorate. Your state voted for the Vesuvian candidate, but the Martian candidate won the most popular votes? Too bad, so sad. The State is going to stand for the Martian. Talk about the ultimate in voter disenfranchisement. Yet all the Right Thinking People hold this up as the ultimate in direct democracy.
Over in California, an experiment in direct democracy resulted in the passage of Proposition 8, which reserved the use of the term "married" for the union of 1 man and 1 woman. Setting aside any personal feelings about who should or should not be allowed to marry (or use the adjective 'married'), the people spoke, with 52% supporting amending the state constitution.
Yet Right Thinking People everywhere decried the result as a miscarriage of justice, and it was overturned in the courts.
Once again, we see that the will of the people is only to be respected when it aligns with the Correct Results®.