I did some brief testing, and it looks like the last version without the issue is 2.1.49. Since it is also the last version without the Qt5/Qt6 split, I thought that might be related, but the issue seems to occur on both Anki 24.06.3 Qt5 and Anki 24.06.3 Qt6. This mostly happens when the Deck/Subdecks structure is complex. The tests below were performed using the same collection. The difference in the amount of 'due' cards is because review limits were handled differently before Anki 2.1.55.
I did some brief testing, and it looks like the last version without the issue is 2.1.49. Since it is also the last version without the Qt5/Qt6 split, I thought that might be related, but the issue seems to occur on both Anki 24.06.3 Qt5 and Anki 24.06.3 Qt6. This mostly happens when the Deck/Subdecks structure is complex. The tests below were performed using the same collection. The difference in the amount of 'due' cards is because review limits were handled differently before Anki 2.1.55.
Anki 2.1.49, Windows 10 -> no issue
https://github.com/user-attachments/assets/781edc9a-e93b-43d7-ba03-8827a9c048cb
Anki 24.06.3 qt6 -> the Deck Browser is shaky when collapsing/uncollapsing
https://github.com/user-attachments/assets/d5032136-b02f-4fac-bb38-f5c1b876317c