You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've set a max-height and overflow:auto to the ul element, so I can have scroll on the context menu. When i have too much items in the context menu and i navigate with arrowUp or arrowDown keys, the scroll doesn't follow the active item
To Reproduce
Steps to reproduce the behavior:
add the following css to the application:
.cdk-overlay-pane.ngx-contextmenu ul {
max-height: 234px;
overflow: auto;
}
Open a context menu with too much items (40 or 50)
Press successively arrowDown key until the active item gets hiden
You will notice that the scroll doesn't move, and the active item is not visible
Expected behavior
It's expected that the scroll should move together when the active item is not more visible on the screen
Stackblitz Example
Please fork this base example to demonstrate the issue you're experiencing.
The text was updated successfully, but these errors were encountered:
Describe the bug
I've set a
max-height
andoverflow:auto
to theul
element, so I can have scroll on the context menu. When i have too much items in the context menu and i navigate with arrowUp or arrowDown keys, the scroll doesn't follow the active itemTo Reproduce
Steps to reproduce the behavior:
Expected behavior
It's expected that the scroll should move together when the active item is not more visible on the screen
Stackblitz Example
Please fork this base example to demonstrate the issue you're experiencing.
The text was updated successfully, but these errors were encountered: