Forum member ChuckS has a YouTube video on slam latches (linked below).
Your issue sounds to me like they need to be cleaned and lubed or maybe replaced. This video will help you figure out the solution.
Keep in mind these slam latches are likely made from the bestest-mostest strongest-purest-highest quality Chinese pot metal and plastic available…and provided by the low bidder. The pot metal is sourced from the finest junk yards in China and carefully smelted to precision shapes - custom for your RV…or am I confusing the slam latch story with my theater chairs? Oh well, they both come from the same Chinese junk yard.
https://youtu.be/29FhVsnKj70?si=_0SKGAvpV8K88Jgs