angular-ui/ui-grid

Horizontal scroll on pinned column causes grid to scroll to rightmost border

Open

#4037 aperta il 23 lug 2015

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issuegrid-pinning

Metriche repository

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

Descrizione

Steps to reproduce:

  1. Open http://ui-grid.info/docs/#/tutorial/203_pinning
  2. Place mouse on the pinned Name column
  3. Scroll right either on trackpad or mouse (press shift for horizontal scrolling :) => the body of grid view jumps to the rightmost border. I expect the body of the grid view to not scroll horizontally.

In this gif, I first scroll to right only a bit. The body scrolls to the rightmost border. After that, I scroll down and right with the trackpad. The body scrolls again. ui-grid

I was able to repeat the results with Chrome 43, Safari and Firefox on OS X 10.10.4 with external mouse and the trackpad. Also, I got similar results with the latest Ubuntu inside a VirtualBox.

Guida contributor