Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

How to prevent page scrolling when using keyboard navigation

$
0
0

Hi, 

 

I am facing a problem that the page will be scrolled automatically.

This problem will occur at the occasion that Grid is in batch editing mode(editable: true) and keyboard navigation is active(navigatable: true).

When I focusing a cell, and then trying to lost focus by pressing enter key or tab key,

the gird will be scrolled to the top of the page.

This behavior is not friendly for my users since they have to find the cell when the edit finished,

but the keyboard navigation is very useful for them (such as pressing tab key to jump to the next cell).

So is there any way to prevent page scrolling without disabling keyboard navigation function?

 

I have created a sample to reproduce this behavior in attachment.

You can open the file located in <./demo/grid/editing-custom(preventScrolling).html> to check it.

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>