Unplanned
Last Updated: 05 Jun 2023 08:55 by Andy
Andy
Created on: 05 Jun 2023 08:55
Category: Menu
Type: Bug Report
0
Scroll position is reset for ContextMenu with closeOnClick: false and scrollable: true

Bug report

When a ContextMenu is initialized with closeOnClick: false and scrollable: true upon selection of an item the scroll position is reset.

Reproduction of the problem

  1. Run this dojo
  2. Click on the button to open the ContextMenu
  3. Scroll down the options of the ContextMenu
  4. Check a checkbox
  5. Click on the scrollbar of the ContextMenu

Current behavior

The scroll position is moved to the top - to focus is on the first item of the available options.
screencast

Expected/desired behavior

With closeOnClick: false and scrollable: true focus should remain on the selected item.

Environment

  • Kendo UI version: 2023.1.425
  • Browser: [all]
0 comments