[GH #1396] Disable scroll moving behavior to focus on clicked cell

Tags: #<Tag:0x00007efc718e5e58> #<Tag:0x00007efc718e5cc8>

Hi,

When I click on the cell which is partially hidden with scrollbar, there are two cases.

  1. When clicking cells hidden on right, the scrollbar does not move.
  2. When clicking cells hidden on left, the scrollbar moves to display whole cell.

I would like to set scrollbar to remain as is, which is the first case. How can I achieve it?

JSFiddle: https://jsfiddle.net/240x78hf/2/

  1. click any cell on O column and scrollbar will not move
    image
  2. click any cell on B column and scrollbar will move
    image

Hi @hjeong1200

This behavior needs to be unified on our side, and we have issue reported internally to investigate it. At the moment our API doesn’t allow to choose if selecting the cell that is partially outside the viewport should scroll to reveal it fully or not.

Hi @adrian.szymanski,

Thank you for the reply.

My desired action is to remain scroll when selecting the cell that is partially outside of the viewport.
Could you check for some workarounds for this action?

Hi @hjeong1200

This behavior is defined in the internal focus mechanism. I tried to find a workaround to alter it, but with no success. If I’ll manage to find a temporary solution, I’ll let you know.