From Pew:
Roughly half of Americans say they prefer politicians who stick to their positions (53%), while slightly fewer say they like those who make compromises with people they disagree with (44%). This represents a substantial shift from July 2017, when 58% of the public said they preferred politicians who compromised compared with 39% who said they liked politicians who stick with their positions.
There is now no difference between Republicans and Democrats in their views of compromise. In six previous surveys conducted since 2011, Democrats were consistently more likely than Republicans to say they liked those who compromised. As recently as last July, 69% of Democrats said they preferred elected officials who made compromises; today just 46% say this. These views are little changed among Republicans and Republican leaners in recent years: Today, 44% say they like elected officials who make compromises, while 46% said this in July 2017.