sometimes a little of both and I am quoting others, this is not my expertise!
So, can be that the part that hits the thing that makes it hold open is worn, so could be both.
Others with more time and smarts will give you real advice, consider this ER advice...