project_panel: Improve last sticky item drifting logic (#34119)

- Now instead of drifting directory along with last item of that
directory, it waits till last item is completely consumed.

Release Notes:

- N/A
81cc1e8f75Smit Barmase committed on 7/9/2025, 2:56:21 PM· committed by GitHubparent7114a5c
1 file changedLine totals unavailable