mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
- Calculate the overscroll amount and subtract it from viewport-based measurements - Only round at the end of calculations, to avoid sub-pixel rounding discrepancies - Compensate for < 1px fluctuations which happen during scroll Before: https://github.com/user-attachments/assets/a1044405-9f4a-46b1-a3b1-bc5fff29bf45 After: https://github.com/user-attachments/assets/212e4a32-aa97-4054-aba0-b7f1d993f007