DataGridXL2 icon indicating copy to clipboard operation
DataGridXL2 copied to clipboard

Bring cellCursor into viewport when inputBar gains focus (on touch)

Open DataGridXL opened this issue 2 years ago • 1 comments

On touch, focusing the inputBar part resizes the component/window (due to onscreen keyboard showing/hiding). Many times the cell that is edited is moved out of viewport. Bring cell back into view after onscreenkeyboard opens (+closes)

DataGridXL avatar Feb 02 '22 13:02 DataGridXL

THere is a new API named "virtual keyboard API" but useless since it's not on iOS Safari (https://caniuse.com/mdn-api_virtualkeyboard).

There is no simple "onscreen keyboard open" and "onscreen keyboard close" event. We could possibly listen to window resize event or similar.

We could apply this not only on touch, but on desktop too. Always make visible the active cell when inputBar is focused.

DataGridXL avatar Oct 25 '23 22:10 DataGridXL