angular-ui/ui-grid

Bug : leaveOpen option in Grid Menu is not working when columns are resized

Open

#4,856 opened on Dec 15, 2015

View on GitHub
 (3 comments) (0 reactions) (1 assignee)JavaScript (5,395 stars) (2,496 forks)batch import
good first issuetype: bug

Description

UI Grid 3.0.6

The leaveOpen option is not working when columns are pinned & scroll is enabled.

Requirements:

  • leaveOpen set to true.
  • Column Resize enabled.
  • Horizontal Scroll is enabled.
  • One or more Columns pinned to the right.

Steps:

  1. Resize one or more columns till the first column can be completely scrolled off view.
  2. Scroll to the column which you want to hide while one or more columns are hidden by scroll on the left.
  3. Open Grid Menu & select the column to hide.
  4. The Grid Menu is hidden following the action automattically even when leaveOpen is set to true for the Menu Item.

Contributor guide