bug(cdk/listbox): using scrollbar with mouse breaks #30900
Labels
area: cdk/listbox
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When using the cdk listbox on a list that scrolls, the listbox and scroll position behaves weird if that scrollbar is operated with a mouse. The behavior gets worsed if a value is selected.
Operated by mouse means either:
I think there was recently a similar issue in the menu: #30249
Reproduction
StackBlitz link: Also broken in your docs at https://material.angular.io/cdk/listbox/examples
Steps to reproduce:
Listbox with forms validation.
Rat
Expected Behavior
It should just scroll normally.
Actual Behavior
First click scrolls, at second click it jumps back to the top.
Environment
The text was updated successfully, but these errors were encountered: