I'm using Adobe Commerce ver. 2.4.4-p1
Add a product to the cart. Open that cart and try to update qty to the unavailable amount.
You will got an alert with error like 'The requested qty exceeds the maximum qty allowed in shopping cart'. Try to close the alert clicking on 'Ok' button.
You can see that infinite scroll remains on the page.
Looks like a core bug because I tried the same on another project with the same version and got the same problem.