If all brakes are dragging it all most has to be the master cylinder is not adjusted to return all the way, or assembled wrong.
If one or two brakes are dragging then they are adjusted to tight.
Heat can cause the fluid to boil causing air pockets making the pedal spongy.