angular-ui/ui-grid

Touchscreen scolling + selection conflict

Open

#6147 aperta il 4 apr 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issue

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi, I am using ui-grid (v4.0.2 - 2016-12-30) with a linux touchscreen device, running chrome. My setup includes the following:

enableColumnMenus: false, enableFiltering: false, enableExpandableRowHeader: false, expandableRowTemplate: 'orderActions.html', expandableRowHeight: 35, enableRowSelection : true, selectionRowHeaderWidth: 0, enableFullRowSelection: true, multiSelect: false,

also, I expand a row upon selection. Everything works fine on a normal with mouse, but when I use the touchscreen to scroll, sometimes (especially on momentum scrolling action) rows are being selected when I only intend to scroll (drag).

Guida contributor