primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.6k stars 4.62k forks source link

Scrollbar offsets at the initialization of the scroll panel #16757

Closed pbuffin closed 1 week ago

pbuffin commented 1 week ago

Describe the bug

Capture At the initialization of a scroll panel, the scrollbar is misaligned. You need to move the mouse to update the scope and for the scrollbar to return to its proper position.

Environment

primeng documentation

Reproducer

https://primeng.org/scrollpanel

Angular version

18.2.5

PrimeNG version

17.18.12

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.17.0

Browser(s)

Chrome

Steps to reproduce the behavior

You can see bug on documentation page https://primeng.org/scrollpanel

Expected behavior

At the initialization of a scroll panel, the scrollbar is in the correct position.