ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Horizontal scrolling is removing classes

Open strangeapparition opened this issue 13 years ago • 0 comments

My ng-grid is wider than it's container, as expected, so there is a horizontal scroll bar. Clicking on a cell adds a class to change the color and then "disables" it so it cannot be selected again. The problem comes when I scroll past the clicked cell. It gets removed from the table, and upon scrolling back over it gets reinserted, only now the class disabling it is gone.

Is there any way to prevent this from happening? Like hiding the overflow instead of removing and re-adding the divs?

strangeapparition avatar Sep 25 '13 20:09 strangeapparition