First off no actual scientist thought it was even a constant for decades at least. It’s more like saying a car went from stopped at a light to some speed x a block later giving it an average acceleration of y. This is the Hubble expansion, simply a current measurement of the receding velocity of far off things in the universe whose rate are correlated to their distance in a rather linear relationship. In fact, most believe there was a period of inflation faster than light early on to account for how balanced and equal disparate sections of the universe are, despite no time for equilibrium to occur since the Big Bang.
Currently, we can’t even agree on this average acceleration because measuring expansion by cosmic markers of stars like cephid variables and measuring it by the cosmic microwave background give
conflicting results. This is called the hubble tension and underlines how we don’t have a handle on even gross measurements yet.
In 1998 it was discovered the universe was actually accelerating in its expansion, the 2011 Nobel Prize in physics was awarded to Saul Perlmutter at the Lawrence Berkeley National Lab and Brian Schmidt at the Australian National Lab and Adam Reiss at Johns Hopkins University for their discovery. Until then everyone was hung up on the universe slowing down its expansion, falling back in on itself, expanding forever but never reaching a critical size, or continuing to expand forever but doing so more and more slowly. Turns out it was none of them at all.