Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DataGridXL opened this issue Feb 2, 2022 · 1 comment
Labels
enhancement New feature or request touch

Comments

@DataGridXL
Copy link
Owner

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 DataGridXL added enhancement New feature or request touch labels Feb 2, 2022
@DataGridXL
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request touch
Projects
None yet
Development

No branches or pull requests

1 participant