DevExpress / devextreme-reactive

Business React components for Bootstrap and Material-UI
https://devexpress.github.io/devextreme-reactive/
Other
2.08k stars 382 forks source link

Unexpected jump to top when scrolling down after Edge restart #3658

Closed nikolaykhodov closed 1 year ago

nikolaykhodov commented 1 year ago

Is there an existing issue for this?

I'm using ...

React Grid

Current Behaviour

If you have a long table:

and select into a cell:

the grid unexpectedly jumps to the top as you scroll down (the text input gets unmounted). This is taking place after Edge gets restarted. So it doesn't happen after the initial load, but it is the case if the browser is restarted

Expected Behaviour

The grid keeps its scrolling position as you scroll down when there is a selected text input

Steps to Reproduce

  1. Open https://kdpqwv.csb.app/ or https://codesandbox.io/s/scroll-to-top-issue-kdpqwv
  2. Scroll to the middle of the grid
  3. Choose a cell
  4. Scroll down until it unmounts
  5. Restart the browser
  6. Try to repro again
  7. It jumps to the top (random position)

Environment

artem-kurchenko commented 1 year ago

Hi

I created a report to research this issue:

https://supportcenter.devexpress.com/ticket/details/t1176840/reactive-grid-the-scrollbar-jumps-on-the-top-on-scrolling-if-an-input-element-was