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

igGrid - virtualScrollTo doesn't scroll to the very position if the position is not integer value.

Open norikois opened this issue 3 years ago • 0 comments

Description

igGrid - virtualScrollTo doesn't scroll to the very position if the position is not integer value.

  • igniteui-angular version: 22.1
  • browser: Chrome, Edge
  • other condition: Either when the display scaling is not 100% in Windows settings or when the browser zoom level is not 100%

Steps to reproduce

  1. Open the attached reproducible sample.
  2. Scroll vertically to around the row whose ID is 25 by dragging the scroll thumb.
  3. Click "button2" button. -> The current scroll position is displayed in the text box "hoji" just below the button. Make sure the scroll position has a subpixel precision. If it doesn't, repeat the steps 2 and 3 until it does.
  4. Click "button3" button. -> Observe the grid. And observe what is displayed in the text box "saki" as current scroll position.

Result

The grid slightly scrolls. The current scroll position in "saki" is different from that in "hoji".

Expected result

The grid doesn't scroll. The current scroll position in "saki" is same as that in "hoji".

Attachments

C_00226022_Sample4 (2).zip C_00226022_Sample4_Movie1.zip

norikois avatar Sep 20 '22 05:09 norikois